Yukai Huang
40084b25c9
Add fretboard to features.md
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-20 13:36:07 +08:00
Yukai Huang
0161d07b36
Update release notes
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-20 10:36:51 +08:00
Yukai Huang
8e72eb5aca
Merge pull request #1548 from hackmdio/feature/list-my-note-api
...
List-my-note API
2020-07-15 17:13:35 +08:00
Yukai Huang
0b164a0b93
Fix background image ref when urlpath is set
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-10 16:16:51 +08:00
Yukai Huang
5e608a9da8
Fix font loading when urlpath is set
...
Use copy webpack plugin instead. In the old fasion
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-10 16:08:45 +08:00
Yukai Huang
70de439436
Fix baseUrl not replaced correctly in #1378
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-10 11:18:28 +08:00
Yukai Huang
91fb54539a
Merge pull request #1546 from schokotets/develop
...
feature: pass-through yaml metadata image to html meta tag
2020-07-10 10:33:55 +08:00
Yukai Huang
051789b41c
Merge pull request #1498 from zent00/develop
...
Update Simplified Chinese translation and fix typography
2020-07-10 10:32:43 +08:00
Yukai Huang
731cec6966
Revert mdTokens changes
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-09 17:25:07 +08:00
Yukai Huang
cec3c45c2e
Update features.md
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-09 17:14:10 +08:00
Yukai Huang
1adf1221c6
Escape html for table cell
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-09 17:14:10 +08:00
Yukai Huang
b29d2c0a31
Implement cspreview renderer
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-09 17:14:10 +08:00
Max Wu
a569881fcf
Merge pull request #1463 from hackmdio/feature/image-lightbox
2020-07-09 16:41:39 +08:00
Raccoon
e9cf0431d4
Merge branch 'develop' into feat/mindmap
2020-07-09 15:48:28 +08:00
Yukai Huang
e3a6669c7e
Larger draggable area
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-09 14:01:22 +08:00
Yukai Huang
82253f496f
Support keyboard navigation
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-09 14:01:22 +08:00
Yukai Huang
c22ce8da60
Dark mode
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-09 14:01:22 +08:00
Yukai Huang
ec01735424
Zoom/drag image
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-09 14:01:22 +08:00
Yukai Huang
4219985658
Fix body scrolling in published page
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-09 14:01:22 +08:00
Yukai Huang
62bbf928b7
Apply image lightbox only in document image
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-09 14:01:22 +08:00
Yukai Huang
619aabf116
Implement simple lightbox
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-09 14:01:22 +08:00
Ca Chen
b5b0b8be36
not to compress css
...
Signed-off-by: Ca Chen <kiancaca@gmail.com>
2020-07-02 12:52:19 +08:00
Ca Chen
95947e203f
add number system and rwd fretboard
...
Signed-off-by: Ca Chen <kiancaca@gmail.com>
2020-07-02 12:48:10 +08:00
Ca Chen
b957b8bda2
Use brace wrapped param
...
Signed-off-by: Ca Chen <kiancaca@gmail.com>
2020-07-02 12:48:10 +08:00
Ca Chen
aad7dcad95
fix lint errors
...
Signed-off-by: Ca Chen <kiancaca@gmail.com>
2020-07-02 12:48:10 +08:00
Ca Chen
ac7a229b1c
fix: css overwritten
...
Signed-off-by: Ca Chen <kiancaca@gmail.com>
2020-07-02 12:48:10 +08:00
Ca Chen
6f580e9be8
1. mv fretboard path to `public/js/lib/renderer`
...
2. use `string-loader` instead of `svg-inline-loader`
Signed-off-by: Ca Chen <kiancaca@gmail.com>
2020-07-02 12:48:10 +08:00
Ca Chen
370423aefc
add css, make fretboardSVG.js to separate svg files
...
Signed-off-by: Ca Chen <kiancaca@gmail.com>
2020-07-02 12:48:10 +08:00
Ca Chen
2ea3e59842
init ascii fretboard
...
Signed-off-by: Ca Chen <kiancaca@gmail.com>
2020-07-02 12:48:10 +08:00
James Tsai
07f32f5bbf
Fix standard
...
Signed-off-by: James Tsai <jamesscamel@gmail.com>
2020-07-01 11:42:28 +08:00
schokotets
2c9f73cfb2
feature: pass-through yaml metadata image to html meta tag
...
Signed-off-by: schokotets <moritzleni@gmail.com>
2020-06-27 17:22:11 +02:00
Gereon Dusella
c7013574e2
added documentation to features.md
...
Signed-off-by: Gereon Dusella <git@gereondusella.de>
2020-06-03 20:43:52 +02:00
Gereon Dusella
aa7fb0e012
wrong package referenced in public/docs/yaml-metadata.md
...
Signed-off-by: Gereon Dusella <git@gereondusella.de>
2020-06-03 18:41:41 +02:00
Gereon Dusella
b15c59e15e
added an option to set the TOC depth directly inside the [toc] tag
...
Signed-off-by: Gereon Dusella <git@gereondusella.de>
2020-06-03 18:32:48 +02:00
Gereon Dusella
56e01fa76e
added an Environment Variable `CMD_DEFAULT_TOC_DEPTH` to set default toc depth
...
Signed-off-by: Gereon Dusella <git@gereondusella.de>
2020-06-03 17:38:28 +02:00
Gereon Dusella
5847bf09bf
added an option to set the depth of the table of contents freely for every note
...
Signed-off-by: Gereon Dusella <git@gereondusella.de>
2020-06-01 22:27:16 +02:00
Max Wu
b67079d0ed
Update to make editor have extra scroll padding in the bottom
...
that can scroll over editor lines and leave only one line on top of the editor
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-06-01 23:08:45 +08:00
Raccoon
ebec2c0537
fix: replace btn-social with btn-login-method
...
avoid to use btn-social, some AD block will delete
the DOM with btn-social class.
fixed #1491
Signed-off-by: Raccoon <raccoon@hackmd.io>
2020-05-19 14:42:47 +08:00
Raccoon
9c479dd574
Merge branch 'master' into release-2.1.0
2020-05-15 16:50:15 +08:00
tarlety
09eb8556db
Exporting metrics for node.js, express, router, and codimd realtime status.
...
1. **/metrics/router** : exporting node.js/express Prometheus metrics by
[prometheus-api-metrics](https://www.npmjs.com/package/prometheus-api-metrics )
2. **/metrics/codimd** : exporting codimd realtime status (/status) as
Prometheus metrics
Signed-off-by: tarlety <tarlety@gmail.com>
2020-05-01 22:17:22 +08:00
zent00
65222df23c
fix typography of footer
...
Signed-off-by: zent00 <rainylau@gmail.com>
2020-04-29 18:35:28 +08:00
Yukai Huang
77f4b0590a
Support brace wrapped param in fence lang
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-04-19 16:52:24 +08:00
Raccoon
b36648a928
feat: add codemirror support markmap syntax
...
Signed-off-by: Raccoon <raccoon@hackmd.io>
2020-04-13 15:15:32 +08:00
Raccoon
e8b1a679b3
style: markmap style on slide mode
...
Signed-off-by: Raccoon <raccoon@hackmd.io>
2020-04-12 17:06:20 +08:00
Raccoon
65b040545c
style: fix markmap height to 300px
...
Signed-off-by: Raccoon <raccoon@hackmd.io>
2020-04-12 00:59:12 +08:00
Raccoon
fb02ee3922
feat: add mindmap-lib support
...
Signed-off-by: Raccoon <raccoon@hackmd.io>
2020-04-11 23:49:47 +08:00
Max Wu
e07884cc33
fix: heading level in release notes
...
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-04-09 22:43:00 +08:00
Max Wu
04853ea121
Update 2.0.1 release note
...
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-04-09 22:43:00 +08:00
Max Wu
af5ad36167
Merge pull request #1449 from pkrasicki/ui-contrast
...
Improve visibility of some UI elements
2020-03-10 17:17:06 +08:00
pkrasicki
ba4ddca67c
Improve visibility of some UI elements
...
Partially fixes #1441
Signed-off-by: pkrasicki <pkrasicki@protonmail.com>
2020-03-10 09:06:58 +00:00
Yukai Huang
8f4ccb967d
Support inline markdown in spoiler summary
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-03-09 10:15:01 +08:00
林博仁(Buo-ren Lin)
297c1f1085
Fix Wikipedia link in 2.0.0 release notes
...
Fixes the problem where the link opens the same release notes page.
Signed-off-by: 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
2020-03-05 13:41:35 +08:00
Yukai Huang
118b11a4fa
Update highlights of refreshed documentation
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-03-03 15:02:24 +08:00
Yukai Huang
9bb683a96f
Update image html alignment
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-03-03 13:58:01 +08:00
Max Wu
3fbf1bbb83
Update 2.0.0 release note
...
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-03-03 00:40:57 +08:00
Yukai Huang
ad19c87af9
Remove old spellchecker
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-03-02 20:20:30 +08:00
BoHong Li
5b5d0417f5
fix(geo-map): fix west longitude and south latitude not parsed correctly
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-03-02 14:07:53 +08:00
Max Wu
eb27db8f3e
fix: use validator.isURL to avoid regex catastrophic backtracking
...
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-02-29 19:51:20 +08:00
Yukai Huang
1a000226b0
fix: unwrap the geo div and throw error when input
...
location search not found
also fix the CSP rule that the img with data src might be violated
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
Co-authored-by: Max Wu <jackymaxj@gmail.com>
2020-02-28 15:48:09 +08:00
Yukai Huang
e3c460308c
Fix coding style
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-27 21:51:10 +08:00
Yukai Huang
d857f0d12f
Bundle default leaflet marker images
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-27 21:51:10 +08:00
Yukai Huang
0bb3e2614b
Handle geo address lookup
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-27 21:51:10 +08:00
Yukai Huang
d9851f2a28
Support embed OSM
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-27 21:51:10 +08:00
Yukai Huang
6ef0d8698a
Install leaflet library
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-27 21:51:07 +08:00
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