hellemo / ShortCodes.jl

Short codes to embed content in Pluto notebooks
MIT License
49 stars 4 forks source link

use output as markdown in md cell #18

Open AshtonSBradley opened 1 year ago

AshtonSBradley commented 1 year ago

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

hellemo commented 1 year ago

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

AshtonSBradley commented 1 year ago

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 commented 1 year ago

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