1
0
mirror of https://github.com/BoostIo/Boostnote synced 2026-05-28 18:23:09 +00:00
Commit Graph

368 Commits

Author SHA1 Message Date
nathan-castlehow eeca031c86 Merge upstream into master 2019-08-01 19:56:38 +08:00
nathan-castlehow 918a8627e9 Merge upstream into master 2019-08-01 19:55:21 +08:00
amedora 606be4304d Fix 3007 (#3028)
* fix code fences never sanitized

* fix mermaid xss

* Revert "fix mermaid xss"

This reverts commit 1ff179a1bd.

* configuable mermaid HTML label

* add locales for mermaid configuration
2019-07-27 12:39:12 +09:00
Junyoung Choi 484b003b34 Fix theme paths 2019-07-26 13:49:40 +09:00
Junyoung Choi bc1e837466 Set alias to stylus mode inof 2019-07-26 11:32:41 +09:00
hikerpig 972d053c83 fix: array access error when token.map is null, fix #3123 2019-07-26 07:49:59 +09:00
nathan-castlehow f88fc23e58 Removed Paste / Cut options from preview context menu as they are not relevant in preview mode 2019-07-22 16:42:57 +09:00
nathan-castlehow e85767b4a0 feat: Added Context Menu for markdown preview mode and copy url when hyperlink 2019-07-22 16:42:57 +09:00
Baptiste Augrain 850561613b fix gallery on windows 2019-07-20 00:58:51 +09:00
AWolf81 a0799d19f8 fix app path 2019-07-17 17:25:13 +09:00
AWolf81 ba6eb4f26f fix path Linux 2019-07-17 17:25:13 +09:00
roottool 6736a08240 Fixes that TOC hasn't id attribute when the title is all 2-byte characters (#2994)
* Fix: 2-byte character support of slug

* Fix: Decodes slug to display slug

* Fix: Removed a logic of replaceDiacritics

* Fix: Fixed slugify to pass tests

* Fix: Fixed not to remove underscore

* Adds the test for slugify.js

* Fix: Fix to jump to heading

* Added a comment

* Fix: Created click event only linking to heading

* Fix: Fix to use handleLinkClick(e)

* Fix: Changed the regex rule

* Fix: Changed the regex rule of extractId
2019-06-29 00:40:16 +09:00
nathan-castlehow 090b5c32f0 feat: Added Context Menu for markdown preview mode and copy url when hyperlink 2019-06-09 13:28:53 +08:00
amedora bc27fd0acc disable fuzzy link 2019-06-03 13:54:40 +09:00
Ryota Kusano 244a28c7d2 Adjust continuous quotation pattern 2019-05-29 22:55:05 +09:00
Ryota Kusano edac4d3fed Fix to remove unnecessary escape charactor erorr on IDE 2019-05-29 22:55:05 +09:00
Ryota Kusano e402929cca Fix regular expression related checkbox logic 2019-05-29 22:55:05 +09:00
AWolf81 3c39dc3cec change redirecting to connected-react-router 2019-05-29 12:20:49 +09:00
AWolf81 7e8f46c4f3 remove commented imports 2019-05-29 12:20:49 +09:00
AWolf81 b6212f4bfe Update dependencies & change to React-router v5 2019-05-29 12:20:49 +09:00
Zubata SMRTKA aa4d06fb1e formatting 2019-05-26 18:22:04 +09:00
Baptiste Augrain ba913b77e7 use constants and fix cursor color 2019-05-06 18:28:57 +09:00
Baptiste Augrain 6012fc929e add Nord theme to CodeMirror 2019-05-06 18:28:57 +09:00
Abner Soares Alves Junior d81e69bf00 Add parse and fetch pasted markdown titles with url 2019-04-15 10:56:35 +09:00
David Dreher 1675e04f90 Fix for #2782: CodeEditor.handleChange will now update the toc if available when a headline was modified 2019-04-15 10:54:45 +09:00
Boris Pruessmann 7f55fc4b56 Removed erroneous parameter 2019-04-12 14:33:38 +09:00
Ryo Shibayama 1be208d96b Fix locale json format, add some translations 2019-04-02 14:09:39 +09:00
Junyoung Choi fee966996f Fix wrong binding (#2940) 2019-03-22 15:33:29 +09:00
Nguyen Viet Hung b5b56f7af1 Refactor code editor by moving the expand snippet out to a separate file (#2864)
* refactored CodeEditor by moving Snippet out

* fixed typo
2019-03-21 01:26:53 +09:00
Shenghan Chen 0f232b3d86 FIX #2853 Allow "#" in title
- Only strip the leading # in the title
- Make the finding title logic more straightforward
- Add unit test
2019-02-04 20:07:33 +13:00
HarlanLuo deb2cd0156 new feature: auto detect snippet language
only try to detect after pasting and mode has not been set and default snippet language is "Auto Detect"
2019-01-01 17:01:49 +08:00
Junyoung Choi 5f385e4c03 Merge pull request #2465 from daiyam/gallery
add image gallery
2018-12-24 17:19:03 +09:00
Junyoung Choi 2df0f1bcb8 Merge pull request #2682 from duartefrazao/master
Feature - Line highlighting within code block #2469
2018-12-24 16:56:59 +09:00
Baptiste Augrain 256653677e fix lint errors and remove unused dependencies 2018-12-16 19:45:18 +01:00
Baptiste Augrain b99980fda1 improve slug by replacing diacritics and removing unwanted characters 2018-12-16 19:38:04 +01:00
Baptiste Augrain d5a2aa6d6d fix missing bullets 2018-12-15 10:41:47 +01:00
Baptiste Augrain 4f9b37433c fix toc by sharing slugify() 2018-12-15 10:11:04 +01:00
Duarte-Frazao 4fb11b68e4 Markdown functionality 2018-12-13 13:13:01 +00:00
Duarte-Frazao a9442a019f Changes to pass tests and lint code 2018-11-30 19:20:40 +00:00
Duarte-Frazao 45436f65af Issue #2469 almost done, missing refactor to reduce calls on code mirror 2018-11-30 18:03:23 +00:00
Baptiste Augrain 0a1ee86baf Merge branch 'master' into gallery 2018-11-25 16:05:27 +01:00
Junyoung Choi (Sai) 78ae7b847c Merge branch 'master' into bug-2581 2018-11-25 15:39:39 +09:00
Junyoung Choi (Sai) 0b6c0e6b94 Merge pull request #2622 from daiyam/fix-fence
fix code blocks
2018-11-25 15:26:48 +09:00
Junyoung Choi (Sai) b021bb73ed Merge pull request #2498 from daiyam/create-note-with-tags
create note with selected tags
2018-11-25 15:23:04 +09:00
Baptiste Augrain 94f7533ee7 fix code blocks 2018-11-18 23:53:46 +01:00
Baptiste Augrain c13746f10e Merge branch 'master' into create-note-with-tags 2018-11-12 19:16:50 +01:00
ehhc 49abfac98e don't do spellcheck if disabled... 2018-11-12 17:47:45 +01:00
JianXu 3a4bc33d53 Fixed duplicate TOC Title jump error 2018-11-10 15:56:21 +08:00
Baptiste Augrain b1a7f0fd64 Merge branch 'master' into gallery 2018-11-08 23:52:31 +01:00
Baptiste Augrain 70b86907f3 Merge branch 'master' into create-note-with-tags 2018-11-08 18:31:32 +01:00