Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --add-titles option #36

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add --add-titles option #36

wants to merge 1 commit into from

Conversation

jforberg
Copy link

When this option is enabled, each parsed note will be considered to
start with a heading:

Title-of-note

even when no such line is present in the source file. The title is
inferred based on the filename of the note.

This option makes heavily nested note embeds make more sense in the
exported document, since it shows which note the embedded content comes
from. It loosely matches the behaviour of the mainline Obsidian UI when
viewing notes in preview mode.

When this option is enabled, each parsed note will be considered to
start with a heading:

  # Title-of-note

even when no such line is present in the source file. The title is
inferred based on the filename of the note.

This option makes heavily nested note embeds make more sense in the
exported document, since it shows which note the embedded content comes
from. It loosely matches the behaviour of the mainline Obsidian UI when
viewing notes in preview mode.
@aadimator
Copy link

aadimator commented Mar 24, 2022

This feature would be greatly appreciated.

@jforberg
Copy link
Author

I wrote the feature as a special option, but I actually think it should be the default. The title of a note is logically part of the note.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants