Hugo comes with a built-in {{< highlight >}}
shortcode that works… ok on a Micro.blog site. But not without its quirks. This plug-in aims to monkey patch in better code-highlighting support for microbloggers.
As of now, this plug-in is not even alpha. It's a proof of concept.
Hey! It's me, Sven. Highlight Monkey and my other plug-ins are passion projects released to the world for free. That said, donations are always welcome if you get value from my work.
💸 Donate $10 or any amount you're comfortable with. Thanks! 🙏
- Follow this link or manually go to Design → Edit Custom Themes and press New Plug-in.
- Enter a fitting Title (like Highlight Monkey).
- Paste the following into Clone URL:
https://github.com/svendahlstrand/plugin-highlight-monkey
- Choose which Site you want to install the plug-in.
- Press Add Plug-in
- Congratulations, the plug-in is installed.
- First of all, wait for the plug-in to be installed. It can take a couple of minutes based on Micro.blog's load.
- Then, go highlight some code! The `{{< highlight >}}´ shortcode syntax is documented here.
- Report quirks to me. 👇
Feel free to reach out to @sod on Micro.blog for additional help.