1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00
Commit Graph

79 Commits

Author SHA1 Message Date
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
Junyoung Choi (Sai)
78ae7b847c Merge branch 'master' into bug-2581 2018-11-25 15:39:39 +09:00
Junyoung Choi (Sai)
c76b653737 Merge pull request #2338 from ehhc/spellchecker
Spellchecker
2018-11-25 15:21:04 +09:00
JianXu
849104f530 Update Snapshots test 2018-11-10 16:19:42 +08:00
Arcturus
480c05650b fix linting issues 2018-11-09 13:58:54 +00:00
Arcturus
2a774d20f4 fix issue 2530 2018-11-09 12:21:00 +00:00
ehhc
c6f1f97a57 Merge branch 'master' into spellchecker 2018-11-08 11:19:46 +01:00
Baptiste Augrain
47f6a217e8 Merge branch 'master' into text-deflist 2018-11-08 05:24:57 +01:00
Baptiste Augrain
c5bcfe6ab3 Merge branch 'master' into fence-attrs 2018-11-06 09:35:59 +01:00
ehhc
6c7ed82fa9 Merge branch 'master' into spellchecker 2018-11-06 08:36:59 +01:00
Junyoung Choi (Sai)
efa00728d6 Merge pull request #2342 from daiyam/bug-1992
fixing inline html
2018-11-06 15:45:41 +09:00
ehhc
88ac2a98e8 Merge branch 'master' into spellchecker 2018-11-02 10:41:30 +01:00
Baptiste Augrain
60fcf2734a Merge branch 'master' into text-deflist 2018-10-23 09:42:54 +02:00
Baptiste Augrain
ae9e83cf66 Merge branch 'master' into bug-1992 2018-10-23 09:34:26 +02:00
David Nagle
3272033c63 Added preferences to support toggling front matter title extraction on/off and to customize what field is used for the title. 2018-10-19 23:29:30 -07:00
David Nagle
0e38f61c85 Title will now be extracted from front matter if title: is present. 2018-10-19 10:59:37 -07:00
Baptiste Augrain
a4ad3896f0 Merge branch 'master' into fence-attrs 2018-10-14 15:21:27 +02:00
Nguyễn Việt Hưng
8936d8b517 updated to code to pass test 2018-10-02 21:43:45 +07:00
Baptiste Augrain
76928e43a3 - add data-line attribute to definition lists and lists
- add tests
2018-09-17 22:46:20 +02:00
Baptiste Augrain
a816c5dc23 fix test 2018-09-17 21:45:59 +02:00
Baptiste Augrain
7af77384e7 Merge branch 'master' into fence-attrs 2018-09-15 15:04:55 +02:00
Baptiste Augrain
bacbfc8615 add test 2018-09-15 10:43:41 +02:00
Junyoung Choi (Sai)
7ab3ce91a1 Merge pull request #2281 from mbarczak/features/toc_generator
Automatic table of contents generation for Markdown
2018-09-15 12:36:54 +09:00
Baptiste Augrain
57fadacda0 update ava snapshots 2018-09-13 12:17:59 +02:00
Baptiste Augrain
7c0c81207b add test 2018-08-31 10:27:02 +02:00
Maciek
1bb841d5c5 Create Markdown TOC at current cursor position
If there is no TOC in the current document, it's created at current
cursor position. Subsequent generation calls update TOC at existing
position.

Add additional tests with CodeMirror editor mock.
2018-08-28 00:51:49 +02:00
ehhc
54717ea6f2 linter errors fixed 2018-08-25 18:45:13 +02:00
ehhc
ceca4c98a3 linter errors fixed 2018-08-25 18:39:29 +02:00
ehhc
39b4287c5e linter errors fixed 2018-08-25 18:34:21 +02:00
ehhc
734db58d85 Spellcheck - first try to fix #2176 2018-08-22 16:48:10 +02:00
Maciek
5bb90babbc Add tests for Markdown TOC generator 2018-08-21 01:03:53 +02:00
Junyoung Choi (Sai)
4556375174 Merge pull request #2284 from mikaoelitiana/feat-933
Add per-folder sort
2018-08-20 13:46:03 +09:00
Unknown
df4d837026 add todo status test 2018-08-18 14:38:07 +01:00
Unknown
760f84d7fa fix for 2267
todo percentage not updated correctly
2018-08-18 14:30:23 +01:00
Mika Andrianarijaona
9572cb2d33 Fix default value of config.sortBy 2018-08-12 09:21:46 +02:00
Nguyen Viet Hung
f0df787bbe Fix escape codeblock (#2230)
* updated package-lock

* added fix and test for escape html in code block

* fixed markdown preview render bug

* updated comment in escape function

* improved escape function

* Delete package-lock.json
2018-08-09 17:08:52 +09:00
Nguyễn Việt Hưng
563fdcba94 added tests escape html function 2018-07-07 00:07:17 +07:00
ehhc
4307db11c5 Merge branch 'master' of https://github.com/BoostIO/Boostnote into spell_check
# Conflicts:
#	browser/components/CodeEditor.js
#	locales/fr.json
#	package.json
2018-07-03 09:05:47 +02:00
ehhc
83f8151ca4 spellcheck -> context menu with spelling suggestions 2018-07-02 17:27:47 +02:00
Sosuke Suzuki
95c10a1de7 add test 2018-06-27 20:42:01 +09:00
ehhc
785272540e Spellcheck - liveSpellcheck 2018-06-23 18:16:39 +02:00
ehhc
82178055af Spellcheck - initialisation and first draft onChange 2018-06-17 17:13:44 +02:00
ozone
83a9e54896 Fix snapshot 2018-05-04 01:22:55 -04:00
ozone
ab038b1f31 Add configuration to render line breaks as <br> or not 2018-05-04 00:44:22 -04:00
Junyoung Choi (Sai)
56879924bd Merge pull request #1701 from bimlas/fix-filter-by-tag-in-search-entry
Fix tag filtering in search entry
2018-04-10 19:59:20 +09:00
bimlas
2a23d19321 Add selector to sort tags by counter or alphabetically
![screencast](https://i.imgur.com/XUkTyRe.gif)
2018-03-24 15:46:49 +01:00
bimlas
145ae10a79 Add test: find tags without hash symbol
Searching has to find tags without hash symbol too (`tag` instead of
`#tag`).
2018-03-21 20:07:21 +01:00
bimlas
5f5a7880a6 Fix tag filtering in search entry
Some issues introduced in #954
(https://github.com/BoostIO/Boostnote/pull/954#issuecomment-336344915):

- search by `#tag1 #tag2` returns the results of only `#tag2`
- search by `#tag1 content` is as same as AND search by `#tag1 content` (and
  `#tag1` is regarded a word, not a tag)
- search by `content #tag1` returns the results of only `#tag1`

This commit fixing these:

- search by `#tag1 #tag2` returns the results of only `#tag2`

  ![screencast](https://i.imgur.com/SjhQIhl.gif)

- search by `#tag1 content` is as same as AND search by `#tag1 content` (and
  `#tag1` is regarded a word, not a tag)

  ![screencast](https://i.imgur.com/G0Tmd8c.gif)

- search by `content #tag1` returns the results of only `#tag1`

  ![screencast](https://i.imgur.com/5MrMbE6.gif)

NOTE: the examples works without `#` character too, because
`findByWord()` checks the tags too.
2018-03-20 09:01:11 +01:00
Yu-Hung Ou
1dd7644e12 added smart quotes unit test for lib/markdown 2018-03-18 15:36:57 +11:00
Yu-Hung Ou
f72b4f0249 added unit test for checkbox markdown syntax 2018-03-14 21:47:07 +11:00