jekyll-garden.github.io icon indicating copy to clipboard operation
jekyll-garden.github.io copied to clipboard

Callouts (AKA admonitions) not rendered

Open nickynicolson opened this issue 3 years ago • 2 comments

Callouts render incorrectly (as blockquotes)

nickynicolson avatar Jul 23 '22 10:07 nickynicolson

Hey! Thanks for the suggestion. Will add this soon. (I never used it as I am trying to stick with plain markdown)

hfactor avatar Aug 04 '22 14:08 hfactor

i look forward for this. 😃

anyway, callout implementation in jackyzha0/quartz is quite beautiful (for a reference). i'm not too fluent with these liquid and hugo scripts to try implement n propose

  • https://github.com/jackyzha0/quartz/blob/hugo/layouts/partials/textprocessing.html

here are the js to toggle the classes from collapsible to collapsed

  • https://github.com/jackyzha0/quartz/blob/hugo/assets/js/callouts.js
  • https://github.com/jackyzha0/quartz/blob/hugo/assets/styles/_callouts.scss

efemkay avatar Aug 05 '22 07:08 efemkay