Convert Mozilla Fluent files to Markdown (and more!)
MPL-2.0 License
Convert Mozilla Fluent files to Markdown (and more!)
Allows for the proofreading and commenting on fluent files in a tool such as Google Docs, by exporting the fluent file to ODT, then uploading that to Google Drive.
Requires pandoc
to be installed to convert from markdown to other formats.
Install the node dependencies:
make install
To convert from fluent file to markdown:
make md path=../path/to/file.ftl
The markdown will be generated in output.md
make odt path=../path/to/file.ftl
The odt file will be created at output.odt
For example, html5:
make pandoc type=html5 extension=html path=../path/to/file.ftl
The html file will be created at output.html
To clean up all output files:
make clean