Add metadata at the beginning of the file in JSON format, separated from the content by ;;;
Example file structure:
{
"name": "my-markdown-file",
"tags": ["documentation", "tutorial"],
"desc": "A brief description of this content",
"private": false,
"scheduled": 1700000000000
}
;;;
# Your Markdown Content
This is the actual content that will be published to your VL server.
Use the command palette (Ctrl+Shift+P or Cmd+Shift+P) and run "Publish VL Markdown"
Alternatively, bind the nya.publishMarkdown command to a keyboard shortcut
Metadata Options
name: The unique identifier for the content on your server (required)
tags: Array of tags to associate with the content
desc: Description of the content
private: Set to true to make the content private
scheduled: Unix timestamp (in milliseconds) for when to publish the content
Configuration
The extension reads configuration from a publish-config.json file in your project root:
url: The API endpoint for your VL server
query: Additional query parameters to include in the request
headers: HTTP headers to include with the request (e.g., authentication)
Commands
nya.publishMarkdown: Publish the currently active Markdown file to your VL server