This is a small plugin / module for Neorg, making it possible to easily insert figlet text in a document.
Install using packer:
use "madskjeldgaard/neorg-figlet-module"
In the load
section of your neorg module, as a minimum add ["external.integrations.figlet"] = {}
, and fill out the config options:
require('neorg').setup({
load = {
["external.integrations.figlet"] = {
config = {
font = "doom",
wrapInCodeTags = true
}
},
["core.defaults"] = {}, -- Loads default behaviour
...
})
This will expose a keymap to the keymap
part of your neorg setup. Use it like this:
-- Prompt for text and insert as figletized
keybinds.map("norg", "n", "<leader>ff",
"<cmd>Neorg keybind norg external.integrations.figlet.figletize<cr>")