GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - MoritzRS/obsidian-ext: Extensions and utilities regarding Obsidian Flavored Markdown and the Obsidian.md ecosystem.

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.vscode
.vscode
 
 
packages
packages
 
 
.gitignore
.gitignore
 
 
.prettierignore
.prettierignore
 
 
.prettierrc
.prettierrc
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
eslint.config.js
eslint.config.js
 
 
logo.svg
logo.svg
 
 
package.json
package.json
 
 
pnpm-lock.yaml
pnpm-lock.yaml
 
 
pnpm-workspace.yaml
pnpm-workspace.yaml
 
 
tsconfig.base.json
tsconfig.base.json
 
 
vitest.base.ts
vitest.base.ts
 
 

Repository files navigation

obsidian-ext

Build GitHub License

Extensions and utilities regarding Obsidian Flavored Markdown (OFM) and the Obsidian.md ecosystem.

Feature Highlights

  • robust (tested, 100% coverage, fully typed)
  • small (minimal dependencies)
  • obsidian flavored markdown (Callouts, Tags, Wikilinks)
  • json canvas (validate, parse, transform)

When should I use this?

  • If you want to parse or transform Obsidian Flavored Markdown (OFM)
  • If you want to work with JSON Canvas
  • If you want to work with files from your Obsidian vault

What is this?

This repository started out as simple extensions to micromark, mdast and remark to support Obsidian Flavored Markdown (OFM). I started this project because I was not satisfied with the existing solutions for parsing and transforming OFM. Solutions like quartz did already support OFM, but I disliked their regex based approach. While working on it, I also realized problems in the way Obsidian itself parses markdown (especially whitespaces in wikilinks) which lead me to create my own set of extensions to micromark and mdast. After a short while I also wanted to work with the JSON Canvas format, so I added utilities for that as well.

Contents

Markdown

  • remark-ofm
  • mdast-util-ofm
  • mdast-util-ofm-callout
  • mdast-util-ofm-tag
  • mdast-util-ofm-wikilink
  • micromark-extension-ofm
  • micromark-extension-ofm-callout
  • micromark-extension-ofm-tag
  • micromark-extension-ofm-wikilink

JSON Canvas

  • jsoncanvas
  • jcast
  • jcast-util-from-json
  • jcast-util-to-json

In Progress / Planned

  • Add more tests
  • Add mdast utility to resolve links
  • Add support for OFM Comments
  • Add support for OFM Blocks
  • Add support for mdast-util-to-hast
  • Add mdast utility to transform OFM to GFM (Github Flavored Markdown) and other formats
  • Add more utilities for jsoncanvas (e.g. to transform to other formats)
  • Add Codemirror language extensions
  • Add CLI (analyze/check/convert content)
  • Add web exporter

Contribute

I don't know if i can check PRs in a timely manner, but feel free to open PRs or issues. If participation is high I will need to add a code of conduct and contribution guidelines.

Disclaimer

This package is not affiliated with Obsidian.md or the developers of Obsidian.md

License

MIT © Moritz R. Schulz

About

Extensions and utilities regarding Obsidian Flavored Markdown and the Obsidian.md ecosystem.

Topics

jsoncanvasmarkdownobsidian-md

Resources

Readme
MIT license
Activity

Stars

16 stars

Watchers

3 watching

Forks

3 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.