add: basic obsidian mode
This commit is contained in:
11
README.md
11
README.md
@@ -16,6 +16,17 @@ The arguments supported include:
|
||||
|
||||
- --git-repo the URL of the git repo to load
|
||||
- --listen address to listen on, in the form of 0.0.0.0:8080
|
||||
- --obsidian-mode pre-processes markdown files to make them more standard compliant
|
||||
|
||||
Additionally, if there is a './template.html' file in the repo, is will be used to wrap
|
||||
the generated HTML. Specifically, the 'body' block will be replaced by the markdown content.
|
||||
|
||||
## Obsidian mode
|
||||
|
||||
Intended to create compatibility with Obsidian, because it has a fancy UI.
|
||||
Specifically, this replaces `[[thing]]` with `[thing](thing.md)`
|
||||
None of the other options in https://help.obsidian.md/obsidian-flavored-markdown are included.
|
||||
|
||||
## Future work
|
||||
|
||||
Replace the Obisdian markdown with https://crates.io/crates/obsidian-export.
|
||||
|
||||
Reference in New Issue
Block a user