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

feat: add displayImageAsHtml and removeOutgoingLinkBrackets options #83

Merged
merged 2 commits into from
Jun 14, 2024

Conversation

bruce3x
Copy link
Contributor

@bruce3x bruce3x commented Jun 9, 2024

I've added two options to improve the experience of exporting markdown.

1. displayImageAsHtml

When this option is enabled, the tag replaces the traditional markdown image usage. The tag controls the size of the image displayed in markdown preview, in keeping with the experience in obsidian.

In obsidian:

![[image.png|400x300]]

In markdown:

<img src="attachment/image.png" style="width: 400px; height: 300px;" />

2. removeOutgoingBrackets

When this option is enabled, the square brackets around the outgoing links are removed for a better look.

In obsidian:

Here is the [[another-note]].

In markdown:

Here is the another-note.

@bingryan bingryan merged commit 348bd71 into bingryan:master Jun 14, 2024
2 checks passed
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.

2 participants