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
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
hoijui
34c2bfcfc5
Allow to generate lower case header references through the config ( #1305 )
...
This makes the references consistent/compatible with GitHub,
GitLab, Pandoc and many other tools.
This behavior can be enabled in config.json with:
```
"linkifyHeaderStyle": "gfm"
```
Signed-off-by: hoijui <hoijui.quaero@gmail.com>
2019-10-21 22:17:55 +02:00
hoijui
9e4d07926a
slight doc comment touch-up/simplification [minor]
...
Signed-off-by: hoijui <hoijui.quaero@gmail.com>
2019-10-21 22:17:55 +02:00
Yukai Huang
56b669a027
Fix meta break setting in slide mode
...
When `RevealMarkdown.initialize` is called, it use `md.render` to render markdown, but no until we parse meta, the md.options.breaks would be default value we set in extra.js.
So this commit move forward the whole meta parsing block. Ensure line break setting changed before `md.render` get called.
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-10-20 14:30:56 +08:00
Yukai Huang
fd155fa74d
Use defaultUseHardbreak config when render
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-10-20 14:30:56 +08:00
Yukai Huang
495b65e3b9
Add defaultUseHardbreak as constants
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-10-20 14:30:55 +08:00
Max Wu
232c8bd870
feat: add toolbar buttons for table tools
...
and hide scrollbar of the toolbar to avoid overlapping the buttons
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2019-10-14 14:14:32 +08:00
Max Wu
02feb973e1
feat: add table tools which extends from @susisu/mte-kernel
...
port of the code from: https://github.com/susisu/mte-demo/blob/master/src/main.js
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2019-10-14 14:14:32 +08:00
Max Wu
2eb518691f
Update screenshot.png
2019-10-07 17:41:18 +08:00
BoHong Li
b074b173fb
fix: cdn link
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-10-07 15:42:03 +08:00
Yukai Huang
8d978cd2d0
Fix linting error
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-10-04 23:03:45 +08:00
Yukai Huang
be900d8db6
Fix cdn integrity ( #1284 )
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-10-04 22:59:09 +08:00
Yukai Huang
b2701caba7
Fix viz.js@2 api changes
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-10-04 22:33:23 +08:00
TAKIMOTO, Atsushi
c7a15ecc66
Add allowAnonymousViews option
...
resolve #1144
set to `false` to delete `freely`, `editable` and `locked` permission when allowAnonymous is true (default is `true`)
Signed-off-by: hakoai <hakoai64@gmail.com>
2019-09-08 21:55:52 +09:00
Max Wu
df2c0e23b6
Merge pull request #1272 from hackmdio/bugfix/support-empty-spoiler
...
Support empty spoiler container syntax
2019-09-08 01:10:16 +08:00
Yukai Huang
1e00106889
Merge branch 'develop' into feature/markdownlint
2019-09-08 00:50:54 +08:00
Yukai Huang
1a85523ac9
Support empty spoiler container syntax
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-09-08 00:44:38 +08:00
Yukai Huang
01fa05f41c
Update features.md
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-09-08 00:24:05 +08:00
Yukai Huang
e73405b169
Install markdown-it-ruby
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-09-08 00:24:04 +08:00
RyotaK
f26a73213a
Don't accept sandbox attribute
...
Because sandbox is whitelist attribute, attacker will be able to create iframe that has more permission than default.
Signed-off-by: RyotaK <49341894+ry0tak@users.noreply.github.com>
2019-08-21 19:14:46 +09:00
Yukai Huang
d7854cd02c
Make linter happy
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-08-18 21:57:32 +08:00
Yukai Huang
ad5be66206
Add status bar icon to toggle linter
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-08-18 21:57:32 +08:00
Yukai Huang
968e042b05
Cleanup
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-08-18 21:57:32 +08:00
Yukai Huang
31765a9d34
Make message more verbose & tweak style
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-08-18 21:57:32 +08:00
Yukai Huang
2852be0980
Tweak gutter styles
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-08-18 21:57:32 +08:00
Yukai Huang
6ddf872dec
Initial support for markdownlint
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-08-18 21:57:32 +08:00
Max Wu
969189b900
feat(docs): update features.md for spoiler container syntax
...
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2019-08-08 16:22:44 +08:00
Max Wu
e89f820542
Feature/support vega lite ( #1251 )
...
Feature/support vega lite
2019-08-06 23:03:37 +08:00
Max Wu
71ea581796
Merge branch 'develop' into feature/support-vega-lite
...
# Conflicts:
# package.json
# public/views/slide.ejs
2019-08-06 22:06:43 +08:00
Max Wu
79e6d3d724
fix(security): potential JSONP callback overwritten
...
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2019-08-06 21:43:28 +08:00
BoHong Li
ff124ab6bf
refactor: fix line after merged develop
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:59:03 +08:00
BoHong Li
1ebf9ca374
chore: upgrade cdn dependencies
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:59:03 +08:00
BoHong Li
4a9b6ceca9
refactor: fix lint on public/js/utils.js
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:38 +08:00
BoHong Li
d3fc6f58e3
refactor: fix lint on public/js/slide.js
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:37 +08:00
BoHong Li
3505dcb1c8
refactor: fix lint on public/js/index.js
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:37 +08:00
BoHong Li
8394ff58e9
refactor: fix lint on public/js/history.js
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:36 +08:00
BoHong Li
8ca8484992
refactor: fix lint on public/js/extra.js
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:36 +08:00
BoHong Li
be527765bd
refactor: fix lint on public/js/lib/syncscroll.js
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:36 +08:00
BoHong Li
cc93ace031
refactor: fix lint on public/js/lib/appState.js
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:35 +08:00
BoHong Li
88601302c4
refactor: fix lint on public/js/lib/editor/utils.js
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:35 +08:00
BoHong Li
94703dc8b8
refactor: fix lint on public/js/lib/editor/index.js
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:33 +08:00
BoHong Li
9f35add97b
refactor: fix lint on public/js/lib/editor/config.js
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:32 +08:00
BoHong Li
ab1a3b663e
chore: upgrade spin.js to 4.0.0
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:24 +08:00
Max Wu
2613b63160
feat(docs): update features.md for plantuml and vega-lite examples
...
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2019-08-04 20:16:46 +08:00
Max Wu
49c6672b95
feat: add support of vega-lite
...
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2019-08-04 20:16:46 +08:00
Max Wu
0c4d0a05e0
feat: add plantuml to support charts textcomplete list
...
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2019-08-03 21:23:28 +08:00
Yukai Huang
6f7de25079
Make details element syncscrollable
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-08-03 19:20:44 +08:00
Yukai Huang
8d889a6736
Support "spoiler" container syntax
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-08-03 14:43:16 +08:00
Chulki Lee
5ce981859e
Render plantuml only in fence
...
Signed-off-by: Chulki Lee <chulki.lee@gmail.com>
2019-07-31 10:02:07 -07:00
Chulki Lee
1d7895c869
Add plantuml support
...
Signed-off-by: Chulki Lee <chulki.lee@gmail.com>
2019-07-31 10:02:07 -07:00
BoHong Li
c628737411
Merge branch 'develop' into refactor-realtime
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
# Conflicts:
# README.md
# package.json
2019-07-30 18:20:09 +08:00
Max Wu
dd267096c9
fix: use lodash escapeHTML
...
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2019-07-28 20:04:41 +08:00
Max Wu
a7082633aa
Upgrade mermaid to 8.2.3
...
to avoid XSS inside the svg tag
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2019-07-28 20:04:41 +08:00
Max Wu
76c7b70246
Merge branch 'master' into develop
...
# Conflicts:
# README.md
2019-07-28 19:47:08 +08:00
Max Wu
8947c89da5
Update links of Gitter, POEditor and Travis CI
2019-07-28 19:00:17 +08:00
Yukai Huang
f3a3c14aca
Merge branch 'develop' into feature/slides-spotlight
2019-06-27 17:37:16 +08:00
Yukai Huang
e315127d31
Merge branch 'master' into feature/slides-timer
2019-06-26 11:39:22 +08:00
Yukai Huang
d5a5ebc4d0
Merge branch 'master' into feature/slides-spotlight
2019-06-26 11:39:19 +08:00
BoHong Li
a6036cb70b
refactor: back to use js-standard
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-05-27 17:53:08 +08:00
BoHong Li
6c137ae6ed
fix: mattermost has been deprecated, use mattermost-redux instead it.
...
1. change mattermost color and gitlab color to official color
2. Add mattermost icon because Fork-awesome/font-awesome doesn’t provide mattermost icon
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-04-15 13:03:31 +08:00
Max Wu
fbb18b6e0a
Fix stored XSS in the graphviz error message rendering [Security Issue]
...
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2019-04-14 12:12:02 -04:00
BoHong Li
b0dee3ee14
refactor: fix lint warning on public/js/lib/common/login.js
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-04-12 18:00:45 +08:00
BoHong Li
bf727b5878
refactor: fix lint warning on public/js/lib/editor/utils.js
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-04-12 18:00:25 +08:00
BoHong Li
45ba0c646d
refactor: fix lint warning on public/js/syncscroll.js
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-04-12 18:00:25 +08:00
BoHong Li
e564c40b4d
refactor: fix lint warning on public/js/cover.js
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-04-12 18:00:25 +08:00
BoHong Li
d387cac690
refactor: fix lint warning on public/js/extra.js
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-04-12 18:00:25 +08:00
BoHong Li
0498dc70e8
refactor: fix lint warning on public/js/history.js
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-04-12 18:00:24 +08:00
BoHong Li
573501389a
refactor: fix lint warning on public/js/index.js
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-04-12 18:00:24 +08:00
BoHong Li
a40a8bfc02
refactor: fix lint warning on public/js/pretty.js
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-04-12 18:00:24 +08:00
BoHong Li
33fcfd416d
refactor: fix lint warning on public/js/render.js
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-04-12 18:00:23 +08:00
BoHong Li
73bc7ae8e6
refactor: fix lint warning on public/js/slide.js
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-04-12 18:00:23 +08:00
BoHong Li
4ae1c0ab3e
refactor: replace lz-string with @hackmd/lz-string
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-04-12 18:00:22 +08:00
BoHong Li
67707d097f
fix: remove string.js for sucurity issue
...
1. Upgrade Imgur to fix npm install
2. Upgrade less version for security
3. Change package name in package.json to fit npm package.json rule
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-04-12 18:00:22 +08:00
BoHong Li
56d86ee25e
fix: lint error
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-04-12 18:00:21 +08:00
BoHong Li
f915957a4f
refactor: replace js-url with wurl (original version of js-url)
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-04-11 19:35:12 +08:00
BoHong Li
628e679916
refactor: replace Idle.js to @hackmd/idle-js
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-04-11 18:30:20 +08:00
PastLeo
9696e60248
add reveal.js-elapsed-time-bar
...
Signed-off-by: PastLeo <chgu82837@gmail.com>
2019-04-05 15:53:23 +08:00
PastLeo
5621d45bf9
add spotlight dep for slides mode
...
Signed-off-by: PastLeo <chgu82837@gmail.com>
2019-04-05 15:17:48 +08:00
Sheogorath
50c80c99a4
Release version 1.3.1
...
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-03-23 13:27:39 +01:00
Christoph (Sheogorath) Kern
992f02c294
Merge pull request #1158 from SISheogorath/feature/serbianLanguage
...
Add serbian language
2019-03-16 19:58:45 +01:00
Christoph (Sheogorath) Kern
27ba5f910d
Merge pull request #1166 from SISheogorath/fix/exportEmojis
...
Fix broken HTML export with emojis
2019-03-13 11:50:50 +01:00
Sheogorath
5e634aef87
Fix possible order changes for 'Powered by' in other languages
...
Since not all languages use the same word oder and we run into potential
issues, where the translation of powered by need to add something after
the CodiMD link, this should give us the needed flexiblity.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-03-10 01:43:13 +01:00
Christoph (Sheogorath) Kern
1ffc492442
Merge pull request #1076 from SISheogorath/fix/translation
...
Add some missing translations
2019-03-10 01:32:20 +01:00
Sheogorath
982775f6dc
Fix broken HTML export with emojis
...
HTML export was broken due to missing alt-attribute for emojis.
This patch adds the old alt-element style and restores the exportability
this way.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-03-09 15:04:07 +01:00
Sheogorath
20d1f17d2c
Add serbian language
...
Thanks for the work of the translator Vladan we got a serbian
translation added! Those few changes will add serbian language support
for future CodiMD releases.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-03-04 13:21:01 +01:00
Sheogorath
87443dec5f
Release version 1.3.0
...
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-03-04 12:37:00 +01:00
Max Wu
1743a97c22
Fix possible MathJax XSS issue [Security Issue]
...
see more at: http://docs.mathjax.org/en/latest/safe-mode.html
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2019-03-03 18:32:58 +08:00
Sheogorath
1f0fb12755
Fix CI errors for unused variables
...
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-02-21 01:36:39 +01:00
Sheogorath
c5ca7b634a
Remove broken speakerdeck embedding
...
The current speakerdeck implementation is broken. An alternative
implementation using oembed doesn't work due to CORS, which could be
solved by proxying the speakerdeck API, but we decided to not do this.
This patch provides the link to the speakerdeck presentation instead,
and this way doesn't break existing notes. This is right now the best
solution we could come up with.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-02-21 01:26:37 +01:00