`_abc
abc text22_ abc
abc text23__ abc
abc text_label24_ abc
abc text25__ abc
.. _label21: destination21
.. _text22: destination22
.. __: destination23
__ destination25
```
2. Run `atext2html`:
```shell
$ ./atext2html -o output.html input.txt
```
3. Inspect `output.html`:
```html
abc `text21 <label21_>`_abc
abc text22_ abc
abc text23__ abc
abc text_label24_ abc
abc text25__ abc
.. _label21: destination21
.. _text22: destination22
.. __: destination23
__ destination25
```
This is how it looks like in the web browser:
```shell
$ firefox output.html
```
abc `text21 <label21_>`_abc
abc text22_ abc
abc text23__ abc
abc text_label24_ abc
abc text25__ abc
.. _label21: destination21
.. _text22: destination22
.. __: destination23
__ destination25
## Asciidoc
1. Create a file `input.txt` with text and hyperlinks:
```adoc
abc
abc https://destination30[text30]abc
abc link:https://destination31[text31]abc
abc{label32}[text32]abc
abc{label33}abc
:label32: https://destination32
:label33: https://destination33
```
2. Run `atext2html`:
```shell
$ ./atext2html -o output.html input.txt
```
3. Inspect `output.html`:
```html
abc
abc https://destination30[text30]abc
abc link:https://destination31[text31]abc
abc{label32}[text32]abc
abc{label33}abc
:label32: https://destination32
:label33: https://destination33
```
This is how it looks like in the web-browser:
```shell
$ firefox output.html
```
abc
abc https://destination30[text30]abc
abc link:https://destination31[text31]abc
abc{label32}[text32]abc
abc{label33}abc
:label32: https://destination32
:label33: https://destination33
## Wikitext
1. Create a file `input.txt` with text and hyperlinks:
```wikitext
abc
abc[https://destination31 text31]abc
```
2. Run `atext2html`:
```shell
$ ./atext2html -o output.html input.txt
```
3. Inspect `output.html`:
```html
abc
abc[https://destination31 text31]abc
```
This is how it looks like in the web-browser:
```shell
$ firefox output.html
```
abc
abc[https://destination31 text31]abc
## HTML
1. Create a file `input.txt` with text and hyperlinks:
```html
abctext1abc
abctext2abc
```
2. Run `atext2html`:
```shell
$ ./atext2html -o output.html input.txt
```
3. Inspect `output.html`:
```html
abc<a href="dest1" title="title1">text1</a>abc
abc<a href="dest2" title="title2">text2</a>abc
```
This is how it looks like in the web-browser:
```shell
$ firefox output.html
```
abc<a href="dest1" title="title1">text1</a>abc
abc<a href="dest2" title="title2">text2</a>abc