http://jaspervdj.be/lorem-markdownum/
Lorem Markdownum is a lorem ipsum generator for markdown.
An HTTP API is available. You can use it by sending a GET
request to
/markdown.txt
.
$ curl 'https://jaspervdj.be/lorem-markdownum/markdown.txt'
# In diva in Alcides cumque postquam reserato
## Proxima bellare te tractata Atrides exercet
Lorem markdownum, aequent vocem dixit tamen quidem crimine in maris protinus
moror *telluris* magno, marinae Latonae. Opaca tamquam ligari!
...
Arguments can be passed as query parameters, e.g.:
$ curl 'https://jaspervdj.be/lorem-markdownum/markdown.txt?underline-headers=on'
In diva in Alcides cumque postquam reserato
===========================================
Proxima bellare te tractata Atrides exercet
-------------------------------------------
Lorem markdownum, aequent vocem dixit tamen quidem crimine in maris protinus
moror *telluris* magno, marinae Latonae. Opaca tamquam ligari!
...
These are the supported parameters:
no-headers
no-code
no-quotes
no-lists
no-inline-markup
reference-links
no-external-links
underline-headers
underscore-em
underscore-strong
num-blocks
no-wrapping
fenced-code-blocks
- Install stack.
- Issue
stack build --copy-bins
to build the project. This will put the executable in~/.local/bin
. - Use
mkdir log
to ensure that directory exists. - Run using e.g.
lorem-markdownum-web 127.0.0.1 8080
.