Timothy Lin
ff2362fca4
fix: insert code title relative to parent
2022-01-26 17:59:27 +08:00
Alexander Zeilmann
6e9c4f3bea
Add rehype-preset-minify
2022-01-11 19:18:24 +01:00
Timothy Lin
1789efadc9
upgrade nextjs, preact, mdx-bundler, esbuild
2021-12-04 16:56:54 +08:00
Timothy Lin
75eb350201
fix: parse inline code headings to string
2021-11-26 21:34:26 +08:00
Timothy
d384d1a309
Feat/rehype-citation ( #270 )
...
* feat: add rehype-citation and upgrade to next 12.0.3
* docs: update docs
2021-11-14 19:32:06 +08:00
Timothy Lin
a30b452920
feat: add separate stylesheet for prismjs code block theme
2021-09-07 00:05:56 +08:00
Timothy Lin
b7cee5eaca
fix: allow remark toc to parse headings with url
2021-08-30 23:53:41 +08:00
Timothy Lin
0e34d80287
refactor: use rehype-slug and rehype-autolink-headings
2021-08-22 17:13:14 +08:00
Vitaly Baev
0793b0dbe7
fix: non-latin tags don't cause error
2021-08-20 18:03:38 +03:00
Timothy Lin
2d700e28a2
refactor: use unifiedjs esm packages
2021-08-14 23:11:18 +08:00
Ahmet ALMAZ
52aaf99dd7
fix: toc issue with remark-autolink-headings
2021-08-09 13:57:12 +03:00
Timothy Lin
0b7ec6bb5d
chore: merge master
2021-08-07 23:57:14 +08:00
Timothy Lin
afbc2d9c66
feat: toc for blog post
2021-08-06 22:13:30 +08:00
Timothy Lin
f8ec940c36
fix: support js date in blog frontmatter
2021-08-05 16:05:31 +08:00
Timothy Lin
c50abde4fa
docs: update readme and posts
2021-07-11 23:35:19 +08:00
Timothy Lin
16a4f962a8
chore: fix typo
2021-07-11 17:55:56 +08:00
Ahmad Al Maaz
5d68b47bac
fix: generate-rss.js description [object Object]
2021-07-04 19:23:17 +03:00
Timothy Lin
9378179b9e
feat: update compose to support new frontmatter options
2021-07-04 17:19:35 +08:00
Timothy Lin
c31a4f0aa1
fix: allow summary and tag to be optional for rss
2021-07-04 16:10:41 +08:00
Timothy
0fcb9fc90c
Merge pull request #96 from timlrx/mdx-bundler
...
feat: mdx-bundler and xdm
2021-07-04 15:23:40 +08:00
Timothy Lin
b9ad2a8145
refactor: use mdx-bundler frontmatter
2021-07-04 15:03:52 +08:00
Timothy Lin
5af6209e5a
feat: resolve mdx imports relative to components dir
2021-07-04 12:36:26 +08:00
Ahmad Al Maaz
26f0379afa
refactor: use formatDate util
2021-06-29 16:55:42 +03:00
Timothy Lin
fbd68ec616
feat: add rehype-prism-plus and docs
2021-06-29 18:09:37 +08:00
Dr. Derek Austin
1b6497d8c4
chore: fix typo
...
flatternArray -> flattenArray
2021-06-28 14:52:58 -05:00
Timothy Lin
f7cda6f536
feat: add micromark 3 compatible code title parser
2021-06-26 18:50:49 +08:00
Timothy Lin
553722750e
feat: use mdx-bundler
2021-06-26 18:46:45 +08:00
Timothy Lin
cbaade5c7e
chore: sync with master v0.4.0
2021-06-24 00:02:00 +08:00
Timothy Lin
c479867650
chore: update to next 11 and tailwind 2.2
2021-06-23 18:32:29 +08:00
Ahmad Al Maaz
0119d23567
Import escape
function locally from html-escaper
2021-06-19 12:02:56 +03:00
Ahmad Al Maaz
4c1b4fbd78
Swap convertStringToHTML with html-escaper module
2021-06-18 22:19:29 +03:00
Teng
b930f53e7c
Remove Unexpected File
2021-06-18 18:12:12 +08:00
Dávid Lévai
b04e3f1279
Add convertStringToHTML function to prevent RSS encoding issues
...
When parsing descriptions and titles with characters like '&', '<', etc. feed was broken. This regex swaps these characters with their HTML entity equivalent.
2021-06-12 11:37:28 +02:00
Timothy Lin
644acb788b
chore: sync with v0.3.4
2021-05-29 17:52:13 +08:00
Timothy
654589b5cc
Merge pull request #59 from timlrx/feat/pagination
...
Feat/pagination
2021-05-29 17:04:05 +08:00
Timothy Lin
fd4c7033c7
chore: remove redundant wordCount, readingTime contains word count
2021-05-29 16:45:10 +08:00
Timothy Lin
52ff63576b
fix: slug links for nested posts
2021-05-26 19:20:24 +08:00
Timothy Lin
8914349256
feat: add MDXLayoutRenderer component
2021-05-26 00:11:20 +08:00
Timothy Lin
3c2720a84b
fix: windows compatible file path
2021-05-11 22:34:26 +08:00
Helder Burato Berto
5e36f320df
feat: upgrade next-mdx-remote
...
* chore: upgrade packages
Updating packages:
- "@mapbox/rehype-prism": "^0.6.0"
- "image-size": "1.0.0"
- "next-seo": "4.24.0"
- "remark-code-titles": "0.1.2"
- "remark-footnotes": "^3.0.0"
- "eslint-config-prettier": "^8.3.0"
- "globby": "11.0.3"
- "lint-staged": "^11.0.0"
- "remark-stringify": "9.0.1"
* feat: upgrade next-mdx-remote
It adds MDXRemote and serialize breaking changes
Read more at https://github.com/hashicorp/next-mdx-remote/releases/tag/3.0.0
* fix: downgrade remark-math and rehype-katex
2021-05-11 22:05:33 +08:00
Dr. Derek Austin
67acb0c494
Run Prettier (npx prettier --write .)
2021-05-10 17:07:13 -05:00
Timothy
735c954e72
Feat/sub-route ( #38 )
...
* blog subroute support
* docs: update readme and blog
Co-authored-by: mrhut10 <ahut10@gmail.com>
2021-05-08 13:58:57 +08:00
Timothy
84a2bceb13
fix: exclude draft posts when creating tag paths
2021-01-31 10:13:31 +08:00
Timothy
18533065ed
fix image link and xml blog path
2021-01-19 22:03:09 +08:00
Timothy
2b2ea2747c
fix broken rss guid and link
2021-01-19 21:40:24 +08:00
Timothy
0403eb24a8
refactor formatSlug logic
2021-01-16 18:38:45 +08:00
Timothy
8f646e3429
improve handling of draft posts
2021-01-16 18:36:25 +08:00
Timothy
fdda4c2042
use custom kebabcase function
2021-01-16 18:07:08 +08:00
Timothy
1c2f40424b
add tag based rss feed
2021-01-13 18:35:20 +08:00
Timothy
fba98a0b74
fix twitter and github post links
2021-01-10 16:55:38 +08:00