Commit graph

159 commits

Author SHA1 Message Date
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