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

use output as markdown in md cell #18

Open
AshtonSBradley opened this issue Apr 19, 2023 · 4 comments
Open

use output as markdown in md cell #18

AshtonSBradley opened this issue Apr 19, 2023 · 4 comments

Comments

@AshtonSBradley
Copy link

Is there a way to get markdown for the reference that could be injected into another markdown block?

@hellemo
Copy link
Owner

hellemo commented Apr 20, 2023

I'm not sure I understand what you would like to do, is this referring to dois or a more general request?

@AshtonSBradley
Copy link
Author

AshtonSBradley commented Apr 20, 2023

I was playing with PlutoTeachingTools.jl, specifically footnotes and it seemed like a good use case for ShortCodes but would require using a ShortCodes result in a markdown block. I couldn't figure out the syntax and looking at show, figured it's due to the current output format designed to work in a code cell. Any way to reuse the DOI result in markdown?

@AshtonSBradley
Copy link
Author

Not sure if this was very clear. Is the output of DOI reusable in other markdown, and if so how should it be done?

@hellemo
Copy link
Owner

hellemo commented Oct 2, 2024

Is this what you would like to do? (embedding in a markdown cell in Pluto:

md"""Embedded in Markdown: $(DOI("10.1137/141000671"))

This looks like it already works?"""

image

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