To check out Metanorma capabilities for M3D, take a look at the vCard Format Specification sample Metanorma project written in Metanorma for M³AAWG.
Obtain sample source for the document(s) here.
You can use the sample as a starting point for authoring your own M3D documents with Metanorma. Refer to the repository for an overview of how the source is structured.
Building the sample
Cloning the sample repository
Clone the sample repository for Metanorma M3D and change into the directory:
git clone https://github.com/metanorma/metanorma-m3d.git cd /spec/examples/
If you have Metanorma installed on your machine (via one of the package manager), the command is simpler:
metanorma --type m3d rfc6350.adoc
If you’re using the Metanorma Docker container, run Metanorma like this:
docker run \ -v "$(pwd)":/metanorma/ \ -w /metanorma metanorma/metanorma \ metanorma --type m3d rfc6350.adoc
See the Metanorma Installation page for the various ways Metanorma can be setup.