Skip to content

Metagen is not exporting to markdown #1592

Open
@TheKamboy

Description

Prerequisites

  • I am using the latest stable release of Neovim
  • I am using the latest version of the plugin

Neovim Version

NVIM v0.10.2

Neorg setup

config = function()
  require("neorg").setup {
    load = {
      ["core.defaults"] = {},  -- Loads default behaviour
      ["core.concealer"] = {}, -- Adds pretty icons to your documents
      ["core.integrations.treesitter"] = {},
      ["core.autocommands"] = {},
      ["core.dirman"] = { -- Manages Neorg workspaces
        config = {
          workspaces = {
            notes = "~/notes",
          },
          default_workspace = "notes",
        },
      },
      ["core.keybinds"] = {
        config = {
          default_keybinds = true,
        },
      },
      ["core.completion"] = {
        config = {
          engine = "nvim-cmp",
        },
      },
      ['core.esupports.metagen'] = { config = { type = 'auto' } },
      ["core.integrations.nvim-cmp"] = {},
      ["core.export"] = {},
      ["core.export.markdown"] = {
        extensions = {"all"},
      },
      ["core.ui"] = {},
      ["core.ui.calendar"] = {},
      -- ["core.presenter"] = {
      --   zen_mode = "zen-mode",
      -- },
      ["core.tempus"] = {},
      ["core.todo-introspector"] = {},
      ["core.clipboard"] = {},
      ["core.clipboard.code-blocks"] = {},
      ["core.syntax"] = {},
      ["core.highlights"] = {},
      ["core.esupports.indent"] = {},
      ["core.promo"] = {},
      ["core.itero"] = {},
      ["core.esupports.hop"] = {},
      ["core.dirman.utils"] = {},
      ["core.text-objects"] = {},
      ["core.integrations.telescope"] = {},
    },
  }
end,

Actual behavior

When exporting to markdown, there is a couple of empty lines at the start of the file where metadata should be.

Expected behavior

There should be meta data in the file.

Steps to reproduce

I'm not sure.

Potentially conflicting plugins

No response

Other information

No response

Help

No

Implementation help

No response

Metadata

Assignees

No one assigned

    Labels

    bugIssues related to bugs. Please attach a severity, a priority and category with this label.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions