Gatsby plugin to support Obsidian markdown syntax.
- Nodejs >= 14
- Support
==highlight text==
- Support
[[Internal link]]
- Support
[[Internal link|With custom text]]
- Support
[[Internal link#heading]]
- Support
[[Internal link#heading|With custom text]]
- Support
![[Embed note]]
- Support
![[Embed note#heading]]
npm install gatsby-remark-obsidian
Add the plugin to your Gatsby config:
// gatsby-config.js
plugins: [
{
resolve: "gatsby-transformer-remark",
options: {
plugins: [
{
resolve: 'gatsby-remark-obsidian',
options: {
titleToURL: (title) => `/${title}`, // optional
markdownFolder: `${__dirname}/content`, // optional
highlightClassName: 'highlight', // optional
},
},
]
}
},
],
npm test
This project is licensed under the GNU GPL v3.0 - see the LICENSE file for details
Free Software, Hell Yeah!