Package Exports
- gatsby-remark-obsidian
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gatsby-remark-obsidian) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
gatsby-remark-obsidian
Gatsby plugin to support Obsidian markdown syntax.
Requirements
- Nodejs >= 14
Features
- 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]]
Installation
npm install gatsby-remark-obsidianUsage
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
},
},
]
}
},
],Running the tests
npm testLicense
This project is licensed under the GNU GPL v3.0 - see the LICENSE file for details
Free Software, Hell Yeah!