Kasper Bøgebjerg Pedersen
0e61da8f69
feat(v2): allow specifying of remark and rehype plugins before default plugins ( #2689 )
...
* feat(v2): swap order of markdown plugins
* feat(v2): remark/rehype plugins can override default plugins
2020-05-23 06:07:01 +08:00
Alexey Pyltsyn
1f00d15c74
chore(v2): fix code style (revert previous changes)
2020-04-05 17:38:12 +03:00
Alexey Pyltsyn
6965a668cd
chore(v2): fix code style
2020-04-05 17:30:59 +03:00
Yangshun Tay
b07507c9cc
chore(v2): upgrade devDependencies ( #2538 )
...
* chore(v2): upgrade devDependencies
* chore(v2): upgrade devDependencies
* chore: prettier
2020-04-05 19:07:44 +08:00
Alexey Pyltsyn
c7101e032b
fix(v2): properly process multiple nodes in slugger
2020-03-21 21:06:51 +03:00
Alexey Pyltsyn
9cf3c66917
fix(v2): remove HTML from heading slug ( #2426 )
...
* fix(v2): remove HTML from heading slug
* Fix tests for rightToc
2020-03-21 15:22:55 +08:00
Yangshun Tay
32c1a92b17
chore: yearless copyright headers for source code ( #2320 )
...
* chore: yearless copyright headers for source code
* update snapshots
2020-02-25 23:12:28 +08:00
Yangshun Tay
996b115199
misc(v2): clean up comments in code ( #2294 )
2020-02-18 21:29:23 +08:00
Alexey Pyltsyn
2d08787ed5
fix(v2): escape link text in TOC ( #2236 )
2020-01-22 08:56:54 +08:00
Endi
ace93c5a14
fix(v2): move metadata export after compiling MDX to avoid weird MDX parsing error. ( #2105 )
...
* fix(v2): move metadata export to mdx-loader to prevent any weird mdx parsing
* refactor
* nits
* nits
* nits
2019-12-11 16:33:47 +07:00
Yangshun Tay
55e676cb25
misc: add command to run prettier on docs ( #2102 )
...
* misc: add command to run prettier on docs
* Fix GH issue template
* Fix tests
* Add prettier-docs command to precommit
2019-12-07 21:56:30 -08:00
Endi
d6143868a4
fix(v2): toc should not be broken for heading with html inline code ( #2067 )
2019-11-28 21:33:51 -08:00
endiliey
bd5bdb91f7
chore: add missing facebook copyright header
2019-11-27 16:50:20 +07:00
endiliey
b360b450d8
chore(v2): (nits) remove redundant lines
2019-11-21 14:20:49 +07:00
Endi
a4585ec49b
fix(v2): static phrasing content should be rendered correctly in TOC ( #1992 )
...
* fix(v2): static phrasing content should be rendered correctly in right TOC
* innerhtml in a
2019-11-16 17:41:12 +07:00
Endi
84b2270039
feat(v2): allow custom heading component ( #1687 )
...
* feat(v2): allow custom heading component
* changelog
2019-07-23 12:13:47 +07:00
Endi
305a4f0a29
feat(v2): composition syntax highlighting & live code editors ( #1555 )
...
* feat(v2): composition syntax highlighting & react-live playground
* mobile friendly tweak
* refactor styling
* revert docs
2019-06-04 15:59:51 +07:00
Endi
8743ee5041
feat(v2): allow passing remark, rehype, prismtheme to mdx-loader ( #1543 )
...
* feat(v2): allow passing remark, rehype, prismtheme to mdx-loader
* nits
2019-06-03 14:54:27 +07:00
Endi
4a30bf8947
fix(v2): fix wrong dependency problem ( #1460 )
2019-05-15 20:54:41 +07:00
endiliey
a0089aa9f5
chore(v2): use remark-slug so that rightToc can benefit from it
2019-05-14 16:04:52 +08:00
Yangshun Tay
23b50f17a1
refactor(v2): blog data revamp ( #1450 )
...
* refactor(v2): blog data revamp
* fix(v2): fix incorrect blog total count
* misc: remove console.log
* feat(v2): export frontMatter as an object within MDX file (#1451 )
* refactor. Don't confuse metadata & frontmatter
* export frontMatter in content itself
* nits
* nits name
* dont truncate first four lines in blog
2019-05-13 00:16:15 -07:00
Yangshun Tay
361986515c
feat(v2): presets ( #1401 )
...
* feat(v2): presets
* misc: add newline
* misc: add tests
* misc: fix path
2019-04-27 10:47:56 -07:00
Radosław Miernik
93894e7bdc
feat(v2): headings anchors ( #1385 )
...
* feat(v2): headings anchors
* misc: make hash link appear on hover
* misc: convert to rem
2019-04-23 21:41:51 -07:00
endiliey
2d24e478a5
fix(v2): fix prism not working
2019-04-24 00:23:01 +08:00
Endilie Yacop Sucipto
745f32b010
feat(v2): support rightToc, emoji, slug for docs ( #1382 )
...
* add remark-slug and remark-emoji
* implement right TOC remark plugin
* use rehype-slug ecosystem instead of remark for perf
* first rough implementation for right toc
* nits
* remove unwanted changes
* fix left border styling
* remove depths
* inline snapshot
2019-04-23 15:22:11 +07:00
endiliey
261ab9254d
fix(v2): only import prism css on browser
2019-04-14 01:02:34 +08:00
Endilie Yacop Sucipto
aa27f82acc
refactor(v2): shift to docusaurus/mdx-loader ( #1339 )
2019-04-06 23:55:22 +07:00