Skip to content

zero dependency plugin to export notes to html inside obsidian.md

License

Notifications You must be signed in to change notification settings

xero/obsidian-md2html

Repository files navigation

md2html

a zero dependency plugin to export notes to html inside obsidian! uses obsidian's own internal rendering calls, so your html will look exactly like it does in your editor.

usage

open the command pallet (default is control+p ^p or command+p ⌘p)

and search "md2html", this will give you 5 options:

  • convert document: replaces current note's markdown with html
  • convert selection: replaces currently selected text to html
  • convert to clipboard: converts the current note's content to html and saves it to the clipboard
  • convert to new file: converts the current notes's content to html and saves it to a new file named: html-{note name}.md
  • usage help: displays the settings page

tip! these can be mapped as shortcuts in the hotkey settings tab

installing

manual

  • visit the releases page, and grab two files from the latest version
  • copy main.js, and manifest.json to your vault's plugin folder under md2html
    • ~vault/.obsidian/plugins/md2html/

license

kopimi logo

all files and scripts in this repo are released CC0 / kopimi! in the spirit of freedom of information, i encourage you to fork, modify, change, share, or do whatever you like with this project! ^c^v