This repo is a fork of the original strfmt
repo by lyro (Frank
Fischer) at https://bitbucket.org/lyro/strfmt/.
I do not claim any authorship of this awesome project. I forked it because I am more comfortable with git than mercurial (which is used for the original repo), and I wanted to make this project work once again on Nim devel (2018-06-28).
strfmt
is a small string formatting library for the Nim programming
language similar to Python’s =format=.
To install the original strfmt
, do:
nimble install strfmt
To install this forked version, do:
nimble install https://github.com/kaushalmodi/strfmt
The module is described in this reference documentation.
The documentation is written in Org mode.
- Pandoc is then used to convert Org to ReStructuredText.
nim doc
is then used to generate the final HTML documentation that includes the documentation converted from Org and the doc-strings instrfmt.nim
.
To generate this documentation locally, do nimble docs
. You will
find an index.html
generated in the docs/
directory.
- Pandoc 2.6
To run the tests, clone this repo, cd to the repo directory and run:
nimble test