Neovim integration for Ox Content authoring and i18n workflows.
Example with lazy.nvim:
{
dir = "/absolute/path/to/ox-content/editors/neovim",
config = function()
require("ox-content").setup({
frontmatter_schema = "./content/frontmatter.schema.json",
textlint = {
enabled = true,
command = "pnpm exec textlint",
},
})
end,
}Commands:
:OxContentInsertTable:OxContentInsertCodeFence:OxContentInsertCallout:OxContentPreview
The plugin maps *.mdc to markdown, starts ox-content-lsp for Markdown and JS/TS/JSON/YAML buffers, and uses the same server for insertion commands, preview rendering, and i18n key intelligence.
textlint is opt-in and runs through the LSP on save. Leave
textlint.command unset to use the server default (npx textlint).