ctoscano / Markdown-Include

Adds Functionalityr to VsCode to create an .md file from multiple md files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Markdown Include

Marketplace Version Installs Rating

This extention is used to merge Markdown files from various locations to one file.

Features

  • Merge single active md file using the MdMerge command. the file must include the following lines:
    • !import[/path/from/root/import.md] can be anywhere in the file
    • !export[/path/from/root/export.md] MUST BE the last line
  • Merge all files from select folders using the MdMergeAll command
    • Add the folders in your workspaces settings.json
    {
        "MdMerge.FolderPaths": [ "/ToPublish" ]
    }
    • Run the command from anywhere in your workspace
      • The commands may be run either from the command line (CTRL+SHIFT+P) or from the context menu (Right Click) while editing an .md file

Extension Settings

This extension contributes the following settings:

  • MdMerge.FolderPaths: Contains the list of folders to go through with the MdMergeAll command

Examples

For more detailed examples, please look at the Markdown Test Files folder. It contains examples for both MdMerge and MdMergeAll.

Change Log

See Change Log here

About

Adds Functionalityr to VsCode to create an .md file from multiple md files

License:MIT License


Languages

Language:TypeScript 100.0%