obsidian-export/src
Nick Groenen 58eb79e53d
new: postprocessing support
Add support for postprocessing of Markdown prior to writing converted
notes to disk.

Postprocessors may be used when making use of Obsidian export as a Rust
library to do the following:

1. Modify a note's `Context`, for example to change the destination
   filename or update its Frontmatter.
2. Change a note's contents by altering `MarkdownEvents`.
3. Prevent later postprocessors from running or cause a note to be
   skipped entirely.

Future releases of Obsidian export may come with built-in postprocessors
for users of the command-line tool to use, if general use-cases can be
identified.

For example, a future release might include functionality to make notes
more suitable for the Hugo static site generator. This functionality
would be implemented as a postprocessor that could be enabled through
command-line flags.
2021-04-11 13:52:40 +02:00
..
context.rs new: postprocessing support 2021-04-11 13:52:40 +02:00
frontmatter.rs new: postprocessing support 2021-04-11 13:52:40 +02:00
lib.rs new: postprocessing support 2021-04-11 13:52:40 +02:00
main.rs New: add `--version` flag 2021-02-15 21:24:23 +01:00
references.rs new: postprocessing support 2021-04-11 13:52:40 +02:00
walker.rs Chg: Don't Box FilterFn in WalkOptions 2021-02-12 13:37:00 +01:00