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

Transclusions are not rendered if the alt text (alias) is given #92

Open
zcysxy opened this issue Oct 25, 2021 · 1 comment
Open

Transclusions are not rendered if the alt text (alias) is given #92

zcysxy opened this issue Oct 25, 2021 · 1 comment

Comments

@zcysxy
Copy link

zcysxy commented Oct 25, 2021

Many thanks for this marvelous plugin!

Just like the title suggests, ![[file]], ![[file#heading]], ![[file#^block]] can be rendered perfectly. However, when the alt text is given: ![[file|alt]], ![[file#heading|alt]], ![[file#^block|alt]], then they will not be rendered. I understand that people won't add aliases to transclusions, but the alt text can also serve as CSS selectors (just like classes), which can help us apply different styles to different transclusions in the preview, like naked embeds, embeds without headings, etc. So please consider the transclusions with the alt text. Thank you!

@ReaderGuy42
Copy link

I just found out the plugin can transclude text, and couldn't figure out why it wasn't working for me. So thanks for mentioning the alias! :)
It would be neat though if it worked with the alias anyway.

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

No branches or pull requests

2 participants