dendronhq / dendron

The personal knowledge management (PKM) tool that grows as you do!
https://wiki.dendron.so
Apache License 2.0
6.68k stars 252 forks source link

Provide a Nuxt.js template for publishing #3930

Open mettekou opened 1 year ago

mettekou commented 1 year ago

Please select if your request is either something new or an enhancement

Please select the area your request applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

Is your feature request related to a problem? Please describe

I would like to publish my notes as a Nuxt.js website, since I am more familiar with Vue.js and Nuxt.js than with React.js and Next.js.

Describe the solution you'd like

Add a template for Nuxt.js.

Describe alternatives you've considered

Publishing my website using the Next.js template.

Additional context

None.

levirs565 commented 1 year ago

Hello, i have create a project that can export Dendron vault notes into SSG-compatible Markdown named dendron-exports

You can create custom renderer to export your vault notes into Nuxt compatible markdown.

Nuxt support MDC that support block component. Block component can be used to render ref. We can convert Dendron ref into block component like this:

::ref{targetTitle="title" targetUrl="url" targetId="id"}
Ref content
::