Commit Graph

1074 Commits

Author SHA1 Message Date
Raccoon 06f578e6f8
Merge pull request #1422 from hackmdio/feature/support-vega-lite-code-highlight-svg
Feature/support vega lite code highlight svg
2020-02-27 19:06:01 +08:00
Raccoon 50cbf036e3
Merge pull request #1420 from hackmdio/feature/upgrade-reveal.js-3.9.2
Feature/upgrade reveal.js 3.9.2
2020-02-27 19:04:52 +08:00
Max Wu b22b4d3fb4 fix: use const for ignoreOverlay since it's never reassigned
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-02-27 18:20:41 +08:00
Max Wu 3cc563ec59 feat: define vega code block using json overlay mode in editor
to get vega-lite syntax highlighting work

Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-02-27 18:20:41 +08:00
Max Wu 3a5c6fa5ed feat: use svg for vega-lite renderer
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-02-27 18:20:41 +08:00
Max Wu 0a253a4f32 feat: upgrade vega to 5.9.1, vega-embed to 6.2.2, vega-lite to 4.4.0
also update the schema link in the features.md

Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-02-27 18:20:41 +08:00
Max Wu 90898e700f
Merge pull request #1419 from hackmdio/bugfix/fix-graphviz-error-render
fix: catch viz.js render async error and recreate Viz instance
2020-02-26 22:59:14 +08:00
Max Wu 1417f65a22 fix: mermaid docs link in features.md
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-02-26 22:36:25 +08:00
Max Wu 0b9037fb11 feat: upgrade reveal.js to 3.9.2
remove headjs dependency after 3.8.0 and update lock file

Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-02-26 22:36:25 +08:00
Max Wu 40a04f76f8 fix: catch viz.js render async error and recreate Viz instance
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-02-26 16:05:43 +08:00
Max Wu cdc8581174 fix: solve conflict of label class in mermaid and bootstrap
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-02-26 11:52:09 +08:00
Max Wu edd27af26e feat: upgrade mermaid to 8.4.8
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-02-26 11:52:09 +08:00
Max Wu 6f78c9ad9a
Merge pull request #1273 from hackmdio/feature/support-pandoc-export
Pandoc export
2020-02-17 11:35:02 +08:00
Yukai Huang d573a4541d Add beta to pandoc dropdown menu
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-17 10:49:56 +08:00
Yukai Huang cac7c667d5 Update dropdown file format with extension
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-17 10:49:56 +08:00
Yukai Huang 9f062fcf8f Update menu item
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-10 10:58:02 +08:00
Yukai Huang bb9c43348d Support pandoc export
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-10 10:58:02 +08:00
Yukai Huang 59b31a108d
Remove unused markdown-it-emoji
use emoji markdown-it plugin implemented in 2063eb

Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-06 16:43:05 +08:00
Yukai Huang caf4ac61e5
Support emojify.css use cdn
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-06 14:31:25 +08:00
Max Wu 9935df1c19
fix: flip the view and edit header buttons
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-02-05 20:29:38 +08:00
Yukai Huang dc873e0d28
Display active spell check lang
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-05 18:49:41 +08:00
Yukai Huang 34a69c401c
Fix check overlay not refreshed
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-05 18:34:03 +08:00
Yukai Huang 19dad9dfc8
Lazy load dicts, support cdn, config webpack
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-05 18:34:02 +08:00
Yukai Huang 22443879e7
Support multilanguage spellchecker
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-05 18:34:02 +08:00
Yukai Huang 3c8b5afe20
Adjust vertical rhythm 😂
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-05 18:34:01 +08:00
Yukai Huang 526b5d0aa7
Expose setDictLang method
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-05 18:34:01 +08:00
Yukai Huang bc3fe7ca8d
Refactor dictionary loading method
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-05 18:34:01 +08:00
Yukai Huang aef2c780c8
Bundle our own spellchecker
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-05 18:34:00 +08:00
Yukai Huang 89ff0b6b1c
Fix coding style
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-05 14:51:16 +08:00
Yukai Huang 20d7df5139 Handle theme dropdown menu resizing
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-04 14:36:31 +08:00
Yukai Huang 62980b3dcb Fix light theme name
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-04 14:35:46 +08:00
Yukai Huang 0983cae811 Add more editor themes
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-01-31 15:53:29 +08:00
Yukai Huang 0060488244 Change theme toggle to theme select dropdown menu
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-01-31 15:42:22 +08:00
BoHong Li 80859f6cf7
feat: remove very old history migration method (since 0.2.8)
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-01-06 14:19:01 +08:00
YusukeIwaki d5dd27f745 Implement bitbucket login.
Signed-off-by: YusukeIwaki <iwaki+git@i3-systems.com>
2019-12-28 22:22:15 +09:00
Yukai Huang 520853387a
Update 1.4.1 release note
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-12-14 00:12:37 +08:00
Yukai Huang a1c5c68611
Fix urlpath in webpack build
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-12-13 17:06:30 +08:00
Daniel Lublin db0ee65fc8 fix: correct to singular location
Signed-off-by: Daniel Lublin <daniel@lublin.se>
2019-12-01 16:49:28 +01:00
Yukai Huang 137e5dfb48
Update release note for 1.4.0
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-11-11 16:58:51 +08:00
Yukai Huang 7c3293768b
Remove transform-style workaround in eab984d
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-11-06 13:28:33 +08:00
Yukai Huang f1586c57dd
Fix linter error
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-11-01 16:47:41 +08:00
Yukai Huang bfc50b8bb9
Update markdownlint & webpack bundling
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-11-01 16:34:13 +08:00
Yukai Huang 75ee5ad255
Merge branch 'develop' into feature/configurable-break-style 2019-11-01 10:27:47 +08:00
Yukai Huang 65ecb6d2ec
Allow to generate lower case header references through the conf… (#1310)
Allow to generate lower case header references through the config
2019-10-30 14:44:40 +08:00
hoijui 558fa5fcf4 make standard conform [fix]
Signed-off-by: hoijui <hoijui.quaero@gmail.com>
2019-10-29 13:20:18 +01:00
hoijui aaf9466498 make `headerIds` `const` [fix]
Signed-off-by: hoijui <hoijui.quaero@gmail.com>
2019-10-29 11:57:51 +01:00
hoijui 9742f7d075 fix gfm header link generation with respect to `deduplicatedHeaderId`
Signed-off-by: hoijui <hoijui.quaero@gmail.com>
2019-10-29 10:00:22 +01:00
Max Wu 052c787c0a fix: table editor key map might conflict with textcomplete keymap
and avoid add/remove keymap on every updateActiveState

Signed-off-by: Max Wu <jackymaxj@gmail.com>
2019-10-26 15:02:45 +08:00
hoijui c4906c0592 linkifyHeaderStyle needs no string-ification; is already str.
Co-Authored-By: Yukai Huang <yukaihuangtw@gmail.com>
Signed-off-by: hoijui <hoijui.quaero@gmail.com>
2019-10-22 17:14:02 +02:00
hoijui 905414d039 Make `id` block-scoped (thanks @Yukaii)
Co-Authored-By: Yukai Huang <yukaihuangtw@gmail.com>
Signed-off-by: hoijui <hoijui.quaero@gmail.com>
2019-10-22 17:14:02 +02:00