UNPKG

protoml-parser

Version:

ProtoML is a lightweight, declarative markup language designed for writing and structuring meeting protocols, notes and task lists in a human-readable and machine-parseable format.

26 lines (25 loc) 930 B
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Protoml ListMacrosJson - ProtoML 1.4.2+build67</title> <link rel="stylesheet" href="help.css"> </head> <body> <nav class="topnav"> <a href="../toc.html">Contents</a> <span class="version">ProtoML 1.4.2+build67</span> </nav> <main class="page"> <h1>Protoml ListMacrosJson</h1> <div class="topic-meta">Topic: <code>protoml-listMacrosJson</code></div> <h2>Explanation</h2> <p>Outputs all macros in a specified directory as a structured JSON list.</p> <p>Each entry includes the macro's name, documentation, path, and template (if available).</p> <p>Useful for frontends, dashboards, or live editors.</p> <p>The directory path should generally be wrapped in double quotes, especially when using <code>{{macro_dir}}</code>.</p> <h2>Examples</h2> <pre><code>protoparser --listMacrosJson &quot;{{macro_dir}}&quot;</code></pre> </main> </body> </html>