Mustache Render is a Visual Studio Code extension that allows you to replace variables in Markdown files with custom values and preview the updated content.
Features
Replace variables in Markdown files with custom values.
Create a isEqual rule easily with the custom command.
Preview the updated Markdown content in real-time.
Requirements
Visual Studio Code
Installation
Open Visual Studio Code.
Go to the Extensions view by clicking on the square icon in the sidebar or pressing Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (Mac).
Search for "Mustache Render".
Click on the "Install" button.
Usage
Open a Markdown file in Visual Studio Code.
Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac) to open the command palette.
Type Mustache Render: Markdown Preview and select the command from the list.
A new input panel will appear where you can enter your replacement data in JSON format.
Click the "Update Preview" button to see the updated Markdown content with variables replaced.
Commands
Markdown Preview: Activates the extension to replace variables in the active Markdown file.
Insert isEqual Rule: Add isEqual block inside the active Markdown file.