codebraid-preview-vscode icon indicating copy to clipboard operation
codebraid-preview-vscode copied to clipboard

Pandoc build configuration for preview and export does not support the whole name of a file with extension

Open gusbemacbe opened this issue 4 months ago • 3 comments

Good morning!

I wrote a build configuration to preview the LICENSE.md with a default HTML file template to suppress the title, the author, the date, etc. on the preview. But it does not support the whole name of a file with extension, for example:

"codebraid.preview.pandoc.build": 
  {
    "LICENSE.md": 
    {
      "reader": "markdown",
      "preview": 
      {
        "html": 
        {
          "defaults": {},
          "options": 
          [
            "--template assets/templates/licence.html"
          ]
        }
      },
      "export": {}
    }
  }

gusbemacbe avatar Mar 01 '24 12:03 gusbemacbe