Skip to content

docs: add internal shortcode formatting examples#140

Merged
banana-three-join merged 3 commits into
meshery-extensions:masterfrom
YASHMAHAKAL:docs
Jul 12, 2026
Merged

docs: add internal shortcode formatting examples#140
banana-three-join merged 3 commits into
meshery-extensions:masterfrom
YASHMAHAKAL:docs

Conversation

@YASHMAHAKAL

@YASHMAHAKAL YASHMAHAKAL commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

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

  • Yes, I signed my commits.

@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.6.3
Preview removed because the pull request was closed.
2026-07-12 03:57 UTC

@Bhumikagarggg Bhumikagarggg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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.

@YASHMAHAKAL

Copy link
Copy Markdown
Contributor Author

@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 cardpane and card and other html markdown.

I don't think we should remove that shortcode form index.md

Signed-off-by: YASHMAHAKAL <yvsst01@gmail.com>
Signed-off-by: YASHMAHAKAL <yvsst01@gmail.com>
…to asset for svg shortcode example

Signed-off-by: Lenox Wiltshire <lenoxwiltshire@gmail.com>
@banana-three-join banana-three-join merged commit 1aabeb0 into meshery-extensions:master Jul 12, 2026
2 checks passed
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

Successfully merging this pull request may close these issues.

[Docs] Propagate internal shortcode formatting examples to all meshery-academy repositories

3 participants