Simple webography software
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Aczkolwiek Straszyć ffbccb97c7 I'm literally a monkey 8 months ago
LICENSE Initial commit 11 months ago
README.md Update 'README.md' 9 months ago
webography.c I'm literally a monkey 8 months ago

README.md

Webography

Simple webography software.

Compiling

${CC} webography.c -o webography

Usage

./webography input_file.txt   [ > output.html ]

Example input

Hello, this is my text about something. Link to kallist git can be found [here](https://git.kalli.st).
This is my second line with a [second link](https://link.example.tld). More text....

Output

Hello, this is my text about something. Link to kallist git can be found <a href="#s1">here<sup>[1]</sup></a>.
This is my second line with a <a href="#s2">second link<sup>[2]</sup></a>. More text....

<div id="s1">[1]: <a href="https://git.kalli.st">https://git.kalli.st</a></div>
<div id="s2">[2]: <a href="https://link.example.tld">https://link.example.tld</a></div>

Warning

To escape [ use \[

Known issues

  • Max 999 source links
  • 1024 Max length for link address and description