docs: add internal shortcode formatting examples#140
Conversation
|
Bhumikagarggg
left a comment
There was a problem hiding this comment.
@YASHMAHAKAL Enabling unsafe globally causes the existing homepage blocks/lead shortcode to render as a primary-colored section, adding a green background behind “Welcome to dev environment for your Academy”. This visual change is unrelated to the content-formatting examples. Please either avoid enabling unsafe globally or adjust the homepage shortcode/content so this PR does not change the index page appearance.
This is page won't render in prod, goldmark needs to be enabled globally to make sure it will render shorcodes like I don't think we should remove that shortcode form index.md |
Signed-off-by: YASHMAHAKAL <yvsst01@gmail.com>
…to asset for svg shortcode example Signed-off-by: Lenox Wiltshire <lenoxwiltshire@gmail.com>
Notes for Reviewers
Adds the standard content-formatting-examples reference section, consistent with academy-example. This provides contributors with an internal-facing, locally-viewable cheat sheet of all available shortcodes across academy-theme, Docsy, Hextra, Hugo built-ins, and Markdown. Also enables markup.goldmark.renderer.unsafe in hugo.yaml to ensure all shortcodes render correctly.
This PR fixes : layer5io/academy-example#155
note: omitted "org-id" file
Signed commits