The magic behind the scenes, or in other words understanding the inner workings of neorg.
Table of Contents:
| local buffer = vim.api.nvim_create_buf(true, true) | |
| vim.api.nvim_buf_set_name(buffer, "rocks.nvim installer") | |
| vim.api.nvim_win_set_buf(0, buffer) | |
| local function resize_ui() | |
| local size = vim.api.nvim_win_get_width(0) | |
| vim.opt.textwidth = size % 2 == 0 and size or size - 1 | |
| vim.cmd("%center") | |
| end | 
| vim.api.nvim_open_win(0, true, { | |
| row = 3, | |
| col = 3, | |
| width = 20, | |
| height = 20, | |
| relative = "editor", | |
| }) | 
Yes I know it's ironic to have this file in markdown.
This file details all of the rules, concepts and design choices that went into creating the first true iteration of the Neorg File Format version 0.1