-
-
Notifications
You must be signed in to change notification settings - Fork 229
Open
Labels
bugIssues related to bugs. Please attach a severity, a priority and category with this label.Issues related to bugs. Please attach a severity, a priority and category with this label.
Description
Prerequisites
- I am using the latest stable release of Neovim
- I am using the latest version of the plugin
Neovim Version
v0.11.1
Neorg setup
I am using nixvim
.
{
plugins = {
neorg = {
enable = true;
settings.load = {
"core.defaults" = { __empty = null; };
"core.dirman" = {
config = {
workspaces = { home = "~/notes/home"; };
index = "index.norg";
default_workspace = "home";
};
};
"core.export" = {
extension = "md";
extensions = [ "all" ];
};
"core.ui.calendar" = { __empty = null; };
"core.presenter" = { config = { zen_mode = "zen-mode"; }; };
"core.concealer" = { config = { icon_preset = "diamond"; }; };
"core.qol.todo_items" = {
config = {
order = {
__raw =
"{{'undone',' '},{'done', 'x'},{'pending', '-'},{'cancelled', '_'}}";
};
create_todo_parents = true;
};
};
};
telescopeIntegration.enable = true;
};
};
extraFiles = {
"ftplugin/norg.lua".text = ''
vim.opt_local.conceallevel=2
vim.g.maplocalleader = ","
vim.keymap.set('n',
'<localleader>c',
'<Plug>(neorg.qol.todo-items.todo.task-cycle)',
{ desc = "Neorg: core.qol.todo-items toggle" }
)
vim.keymap.set('n',
'<localleader>pn',
'<Plug>(neorg.presenter.next-page)',
{ desc = "Neorg: core.presenter next-page" }
)
vim.keymap.set('n',
'<localleader>pp',
'<Plug>(neorg.presenter.previous-page)',
{ desc = "Neorg: core.presenter previous-page" }
)
vim.keymap.set('n',
'<localleader>pc',
'<Plug>(neorg.presenter.close)',
{ desc = "Neorg: core.presenter close" }
)
'';
};
}
Actual behavior
norg
file
* Example. {^ 1}
^ 1
This is a footnote
md
file
# Example. [1](#1)
[^1]
[^1] : This is a footnote
Expected behavior
norg
file
* Example. {^ 1}
^ 1
This is a footnote
md
file
# Example. [^1]
[^1] : This is a footnote
Steps to reproduce
Create a norg
file with a footnote then execute :Neorg export to-file test.md
.
Potentially conflicting plugins
No response
Other information
Is this expected? If no I would like to do a fix for this.
Help
Yes
Implementation help
No response
Metadata
Metadata
Assignees
Labels
bugIssues related to bugs. Please attach a severity, a priority and category with this label.Issues related to bugs. Please attach a severity, a priority and category with this label.