Comments (6)
如果可以的话,希望能够提供几个测试样例。
另,由于 CodeMirror 的渲染机制比较特殊,目前恐怕只能实现简单的单行表格。现在在对整个库进行重构( #21 ),如果有时间的话,看能不能换个方式实现表格。
from hypermd.
from hypermd.
现在代码在进行大重构,表格的实现方式换了。如果不出意外,会在下周合并到 master 分枝。
列表不应该放到表格里的。表格只支持单行的文本。
还剩 HideToken 没搞定。现在的大致效果如下:
| 表头 | 表头 | 表头 | 标题 |
| `Code` | ~~删除~~ | *斜体字* | ***粗体斜体混合*** |
| `var a = 1;` | [试试看链接](http://laobubu.net)| $ [\matrix { Begin \\ End }] $|![](https://codemirror.net/doc/logo.png) |
from hypermd.
至于 NPM 包,等重构完成以后就发布。
本来还要写一下使用文档的,估计没太多精力了,看情况吧。
from hypermd.
0.3.0 版本已经发布到 npm (包名就是 hypermd),此外,现在还提供 all-in-one 单文件版,可在浏览器内直接引用。见 http://laobubu.net/HyperMD/docs/examples/ai1.html
from hypermd.
表格功能应该是实现完毕了。前面那种 orgmode 类似的格式已经不支持了:
| 表头 | 表头 | 表头 | 标题 |
| `Code` | ~~删除~~ | *斜体字* | ***粗体斜体混合*** |
| This | format | is | NOT MARKDOWN |
现在支持的格式可以参考: http://xianbai.me/learn-md/article/extension/table.html
至于单元格的 居中、右对齐…… 能够实现,但是懒得做了
from hypermd.
Related Issues (20)
- Non-techie mode? HOT 1
- 关于主题和代码高亮
- 请问如何编译 import 的其他包的内容 HOT 2
- flow 左右分屏容易改造吗?
- Supporting syntax highlight for code block HOT 4
- :::info:::,
- Repo Active
- Cannot convert from `GLib.List<Gtk.Window>' to `GLib.List<weak Gtk.Window> HOT 1
- 官方能出VScode或者Nextcloud这种私有云的插件吗?
- How to import this as ES Module? HOT 2
- Not Highlighting code blocks in vue HOT 1
- Cant seem to get it working, always producing error
- The text box is wobbling badly
- The demo address cannot be opened HOT 1
- Hypermd syntax highlighter stops working inside a code block (Obsidian's Admonition-plugin, CodeMirror) HOT 1
- How to disable folding
- Demo site is down
- 文档和测试站点宕机了
- CodeMirror 6
- Working on a fork supporting CodeMirror 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hypermd.