06. Edit pages - sc0ttj/mdsh GitHub Wiki

Editing existing posts and pages

Editing mdsh files:

Edit the source (.mdsh) file.

$EDITOR path/to/some-file.mdsh

When you're happy with your mdsh file, regenerate the Markdown, and the HTML:

rebuild path/to/some-file.mdsh > path/to/some-file.html

Edit markdown only:

Edit the markdown file only is not recommended - you should generate the markdown from source (see above).

$EDITOR path/to/some-file.md

When you're happy with your Markdown, regenerate the HTML file:

rebuild path/to/some-file.md > path/to/some-file.html