feature: support more than html in SSI

This commit is contained in:
Andy Burke 2025-07-14 19:24:35 -07:00
parent b3e5a4e1b4
commit 80032ad926
5 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1,25 @@
# This is Markdown
Welcome to it.
## This is a level 2 heading
Can you read this?
### Let's go deeper, level 3 heading
- this
- is
- a
- list?
### How about a table?
| column 1 | column 2 |
| -------- | -------- |
| hi | hey |
| hoy | hah |
## Ok, that seems sufficient?
Hardly, but we'll get back to this.

View file

@ -0,0 +1 @@
Just some random text in a random text file.

View file

@ -0,0 +1,12 @@
<html>
<body>
<p>Hello. Markdown should follow:</p>
<!-- #include file="./some_markdown.md" -->
<!-- #include file="./subdir/a-random-text-file.txt" -->
<!-- #include file="./test_include.html" -->
<!-- #include file="./yet_another_include.html" -->
<p>Goodbye. The include should be above.</p>
</body>
</html>

View file

@ -0,0 +1,9 @@
<html>
<body>
<p>Hello. Markdown should follow:</p>
<!-- #include file="./some_markdown.md" -->
<p>Goodbye. The include should be above.</p>
</body>
</html>

View file

@ -0,0 +1,9 @@
<html>
<body>
<p>Hello. Text should follow:</p>
<!-- #include file="./subdir/a-random-text-file.txt" -->
<p>Goodbye. The include should be above.</p>
</body>
</html>