Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xero/obsidian-md2html

zero dependency plugin to export notes to html inside obsidian.md
https://github.com/xero/obsidian-md2html

converter markdown-to-html markdownconversion md obsidian obsidian-md obsidian-plugin

Last synced: 7 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# md2html

a zero dependency plugin to export notes to html inside [obsidian](https://obsidian.md)! 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](https://github.com/xero/obsidian-md2html/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](https://gist.githubusercontent.com/xero/cbcd5c38b695004c848b73e5c1c0c779/raw/6b32899b0af238b17383d7a878a69a076139e72d/kopimi-sm.png)

all files and scripts in this repo are released [CC0](https://creativecommons.org/publicdomain/zero/1.0/) / [kopimi](https://kopimi.com)! 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`