Milkdown / website

The official documentation website for milkdown.
https://milkdown.dev
MIT License
31 stars 101 forks source link

Update theme-nord.md #6

Closed knownasilya closed 1 year ago

knownasilya commented 1 year ago

Using it in config doesn't seem to work.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
milkdown ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 19, 2023 at 8:31PM (UTC)
Saul-Mirone commented 1 year ago

Using it with config is by design.

knownasilya commented 1 year ago

Can you say more? Are we supposed to do two .config(nord).config((ctx) => ....)?

Saul-Mirone commented 1 year ago

Can you say more? Are we supposed to do two .config(nord).config((ctx) => ....)?

Yep. If you don't want to use multiple .config, you can also write it like .config(ctx => { nord(ctx); ... })