Skip to content

madskjeldgaard/neorg-figlet-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

A Figlet module for Neorg

This is a small plugin / module for Neorg, making it possible to easily insert figlet text in a document.

Installation

Install using packer:

use "madskjeldgaard/neorg-figlet-module"

Configuration

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>")

About

Easily use Figlet in Neorg

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published