lnav/test/textfile_0.md
2024-05-18 06:52:18 -07:00

83 lines
1.4 KiB
Markdown

{
"comment": "This is JSON front-matter"
}
# Table of Contents
- [Test](#test)
- [Github Alerts](#github-alerts)
## Test
* One
* Two
* Three
<img src="../docs/lnav-tui.png" />
<img src="../docs/lnav-architecture.png" alt="The internal architecture of lnav" />
<span style="color: #f00; font-weight: bold">Bold red</span>
<span style="text-decoration: underline; background-color: darkblue">Underline</span>
<pre>
Hello,
<span class="name">World</span>!
</pre>
Goodbye, <span style="border-left: solid cyan; border-right: dashed green">World</span>!
```foolang
foo bar bar
baz "xyz"
```
```c
/*
* This program prints "Hello, World!"
*/
#include <stdio.h>
int main() {
printf("Hello, World!\n");
}
```
```python
def hw(name):
"""
This function prints "Hello, <name>!"
"""
print(f"Hello, {name}!") # test comment
```
```xml
<?xml version="1.0" encoding="utf-8" ?>
<books>
<!-- Line comment -->
<book id="100">
<author>Finnegan</author>
</book>
</books>
```
## Github Alerts
> [!NOTE]
> Useful information that users should know, even when skimming content.
> [!TIP]
> Helpful advice for doing things better or more easily.
> [!IMPORTANT]
> Key information users need to know to achieve their goal.
> [!WARNING]
> Urgent info that needs immediate user attention to avoid problems.
> [!CAUTION]
> Advises about risks or negative outcomes of certain actions.