Quartz's remark plugin for Obsidian.
https://www.npmjs.com/package/@quartz-community/remark-obsidian β// momentum
// why it's here
- Active: last commit today
- Built almost entirely by one person
- Health 98/100 with only 6 stars
- 10 releases in the last 90 days
// how to help
// readme
remark-obsidian
A remark plugin that parses Markdown the way
Obsidian does: wikilinks and embeds, callouts, ==highlights==,
#tags, %%comments%%, math, footnotes and inline footnotes, frontmatter and custom task
boxes β with Obsidianβs tokens and positions, measured against the app itself. It is the
Markdown parser behind Quartzβs Obsidian support.
Install
npm install @quartz-community/remark-obsidian
Usage
import { unified } from "unified";
import remarkParse from "remark-parse";
import remarkGfm from "remark-gfm";
import remarkObsidian from "@quartz-community/remark-obsidian";
const markdown = "A [[note|link]], ==a highlight== and a #tag.\n";
const processor = unified().use(remarkParse).use(remarkGfm).use(remarkObsidian);
const tree = processor.runSync(processor.parse(markdown), markdown);