Commit Graph

7 Commits

Author SHA1 Message Date
Nick Groenen
d330af3989
Release v0.5.0 2021-01-05 15:47:35 +01:00
Nick Groenen
a0cef3d9c8
New: Add --no-recursive-embeds to break infinite recursion cycles
It's possible to end up with "recursive embeds" when two notes embed
each other. This happens for example when a `Note A.md` contains
`![[Note B]]` but `Note B.md` also contains `![[Note A]]`.

By default, this will trigger an error and display the chain of notes
which caused the recursion.

Using the new `--no-recursive-embeds`, if a note is encountered for a
second time while processing the original note, rather than embedding it
again a link to the note is inserted instead to break the cycle.

See also: https://github.com/zoni/obsidian-export/issues/1
2021-01-05 15:45:34 +01:00
Nick Groenen
cdb2517365
new: make walk options configurable on CLI
By default hidden files, patterns listed in `.export-ignore` as well as
any files ignored by git are excluded from exports. This behavior has
been made configurable on the CLI using the new flags `--hidden`,
`--ignore-file` and `--no-git`.
2021-01-05 00:05:17 +01:00
Nick Groenen
e3201e58be
Release v0.4.0 2020-12-23 00:31:07 +01:00
Nick Groenen
147c2a4bd5
Add changelog to mdBook 2020-12-22 14:28:38 +01:00
Nick Groenen
f1393fca37
Update installation instructions
Installation no longer requires a git repository URL now that a crate is
published.
2020-12-08 01:00:58 +01:00
Nick Groenen
c2de776148
Public release 2020-12-07 22:35:57 +01:00