Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Feb 25, 2024
1 parent c6cdb44 commit 1842fa8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
4 changes: 4 additions & 0 deletions src/_includes/component-links.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- [React Components in Markdown](/posts/markdown-components-in-react)
- [Vue Components in Markdown](https://press-vue.servicestack.net/posts/markdown-components-in-vue)
- [.NET Razor SSG Vue Components in Markdown](https://razor-ssg.web-templates.io/posts/javascript)
- [.NET Blazor Vue Components in Markdown](https://blazor-vue.web-templates.io/posts/javascript)
13 changes: 7 additions & 6 deletions src/_posts/2024-03-01_vite-press-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -486,13 +486,14 @@ of the code-block to convert the structured ascii layout into a more familiar GU
nextjs.md
```

This nice thing about this approach of marking up documentation is that the markdown content still remains in optimal
human-readable form even without any custom components to render rich UI components.
The benefit of this approach of marking up documentation is that the markdown content still remains in an optimal
human-readable form even when the markdown renderer lacks the custom fenced components to render the richer UI.

## Components In Markdown

Ideally most of your Markdown content are able to just make use of the above features, but when even more interactivity
and richer functionality is required you're able to embed components directly in Markdown, but comes at the cost of
reduced portability.
Up till now all above features will let you render the same markdown content in all available Vue, React, Razor or Blazor
templates. At the cost of reduced portability, you're also able to embed rich Interactive Vue or React components directly in
markdown.

:::include component-links.md:::

#### [React Components in Markdown](/posts/markdown-components-in-react)

0 comments on commit 1842fa8

Please sign in to comment.