Skip to content

Instantly share code, notes, and snippets.

View aviskase's full-sized avatar

Yuliya Bagriy aviskase

View GitHub Profile
@jskherman
jskherman / admonition.lua
Last active March 13, 2024 13:58
A Pandoc Lua filter to convert Callout Blocks to Hugo admonitions (shortcode).
-- Pandoc Lua-filter for Obsidian Callouts
-- Original Source: https://forum.obsidian.md/t/rendering-callouts-similarly-in-pandoc/40020/
-- Notes:
-- Original snippet modified to output Hugo {{< admonition >}} shortcodes with collapse.
-- Make sure to have a blank line before and after the `> [!note]` line of the callout block.
-- The filter works recursively so if you want callouts within callouts, make sure to leave a blank line
-- before and after the `> [!note] Your title here` line of each callout.
-- Usage:
@cearls
cearls / ayu-mirage.sublime-theme
Last active October 14, 2022 09:52
Nord Sublime theme based on tweaked Ayu Mirage theme
[
{
"class": "title_bar",
"bg": "#2e3440",
"fg": "#cbccc6"
},
{
"class": "title_bar",
"settings": [
"ui_native_titlebar"