Skip to content

gamingrobot/zola-shortcodes

Repository files navigation

Zola Shortcodes for Obsidian

This plugin makes zola shortcodes render in Live Preview, switch to Source Mode to edit the shortcodes. (These are specific shortcodes I made but I wanted to put up the code for other people to modify)

Tags

  • Renders {{ img(src="proxy.php?url=https%3A%2F%2Fgithub.com%2Fname", ...) }} as <img src="proxy.php?url=https%3A%2F%2Fgithub.com%2Fname">
  • Renders {{ video(src="proxy.php?url=https%3A%2F%2Fgithub.com%2Fname", ...) }} as <video controls preload="metadata" src="proxy.php?url=https%3A%2F%2Fgithub.com%2Fname">

Callouts

{% info() %}Callout Text{% end %} 

Renders as a obsidian callout (works for info, tip, warning, danger)

About

Obsidian plugin to render zola shortcodes in Live Preview

Resources

License

Stars

Watchers

Forks

Contributors