## Markdown file 2 This file was linked to from our first file. I want to see if it will still be wrapped in the plugin header and footer. If it is, then we're golden! Also, I want to see how the paragraphing works with this markdown parser. Will it give me a nice clean break between paragraphs, and legible line wraps, or will it be crushed and stretch and ugly like some of these parsers tend to work. I'm just rambling on here, in order to make this paragraph as long as I can manage. If this works well, I won't even need HUGO by the time I'm done! So, this is where another lengthy paragraph would start. I'm not going to carry on too long. I just want to see about the gap between the two paragraphs. I also want to see what it looks like to have sub-headingsin a document. So, let's start a sub-heading. ## Sub-Heading I've started a new sub-heading here. Let's see what this looks like. Another thing I'm curious about, is how the plugin will respond to actual html tags in the markdown. For example, an IFrame with a video embed: ## Next Test Ok, so embedding an IFrame works out of the box. But, what about more complicated things, like divs or snippets of javascript? Lets see how that works out. First, here's a div with a span inside of it.
` which is what both highlight.js and prism.js use. In this case, we'll make a python snippet. The key issue here, is that I already have css theming for the code fence. So, will the javascript override it, merge with it, or be ignored? We shall see:
10 PRINT "HELLO!"
20 GOTO 10
30 END
C:\ > DIR
Volume in drive C has no label
Volume Serial Number is 0000-1234
Directory of C:\
. < DIR> 17/01/2025 12:00
.. < DIR> 09/01/2025 21:52
ARITY6 < DIR> 09/01/2025 21:51
ASSIST < DIR> 09/01/2025 21:52
BCPP < DIR> 09/01/2025 21:51
BCPPINST < DIR> 09/01/2025 21:51
BTFONTS < DIR> 09/01/2025 21:51
IBM < DIR> 09/01/2025 21:51
SPFPC < DIR> 09/01/2025 21:51
AUTOEXEC BAT 75 09/01/2025 21:51
CONFIG SYS 72 09/01/2025 21:51
2 File(s) 130 Bytes
39 Dir(s) 2,013,265,920 Bytes free
000001 //@050541 JOB (BASIC),'BASIC INTERACTIVE',NOTIFY=&SYSUID,
000002 // CLASS=S,
000003 // MSGCLASS=A,
000004 // MSGLEVEL=(1,1)
000005 //*
000006 //* BASIC INTERACTIVE
000007 //*
000008 //S1 EXEC PGM=BASIC1UP
000009 //STEPLIB DD DSN=SYSC.LINKLIB,DISP=SHR
000010 // DD DSN=SYSC.PL1LIB,DISP=SHR
000011 //SYSPRINT DD SYSOUT=*
000012 //RENUMFL DD DUMMY,DCB=BLKSIZE=80
000013 //SYSIN DD DSN=@05054.SRCLIB.BASIC(MYMORT1),DISP=SHR
000014 //KEYINPT DD *
000015 "THIS IS A TEST"
000016 //
[12:44:30][~]
gmgauthier@boethius $ iostat -d
Linux 6.13.0-desktop-0.rc5.1omv2490 (boethius) 01/17/2025 _x86_64_ (4 CPU)
Device tps kB_read/s kB_wrtn/s kB_dscd/s kB_read kB_wrtn kB_dscd
mmcblk0 0.73 13.28 19.07 0.00 4300901 6178399 0
sda 10.68 47.25 199.30 420.96 15308790 64569363 136385220
zram0 0.01 0.01 0.02 0.00 2444 7764 0
```language-python
print('Hello, World!', end=' | ')
print(100, end=' | ')
print(5 + 5)
vowels = ['a', 'e', 'i', 'o', 'u']
popped_item = vowels.pop()
print(popped_item)
print(vowels)
```
And there we have it! Highlight.js works, but it overrides my global css, essentially overlaying the pseudo-amber-screen I created, with it's own theme. That's fine, for now. I picked one as close as possible to my theming, but more work will be needed in the future.
If don't want to use the highlighting, I can always just use a generic (unlabelled) fence:
```language-nohighlight
10 PRINT "HELLO"
20 GOTO 10
```
## Final Test
Now, can we add an Iframe with a display of plain text in a different file? If I can do that, then I could even show you this particular markdown file in its raw form. So, you can see there's no special trickery here, beyond the magic of the markdown plugin for Apache2.
The index.md file:
The sample.md file (the one you're reading now):