:: Re: [DNG] 1/7/2026 GoLUG meeting (f…
Startseite
Nachricht löschen
Nachricht beantworten
Autor: Didier Kryn
Datum:  
To: dng@lists.dyne.org
Neue Treads: [DNG] markdown - ghostwriter
Betreff: Re: [DNG] 1/7/2026 GoLUG meeting (followup)
Le 16/01/2026 à 01:20, Steve Litt a écrit :
> Hendrik Boom said on Thu, 15 Jan 2026 09:50:50 -0500
>
>> It is possible, though, to clone the repository.
> I did git clone https://github.com/dylanaraps/pure-sh-bible
>
> Then I copied README.md to another directory, calling the new file
> bible.md. Then I performed the following command:
>
> markdown -f fencedcode bible.md > bible.html
>
> The result was a very nice and readable HTML file.
>
> The "-f fencedcode" gets rid of all the triple grave quotes.
>
> I'd hardly call this a book, but it's a tremendously valuable resource
> I'll be referring to very often.


Le 16/01/2026 à 03:29, Sy a écrit :
> I just visited the first URL and did a control-s to save the HTML; it
> looks fine in my web browser when offline.
>
> The raw markdown text file also displays well in a syntax
> formatting-capable text editor like nano.  I find colouring helps me
> distinguish things much better than raw text.
>
> ----
>
> I also remind anyone interested in such the pure sh or bash bibles to
> use Shellcheck to assist with experimentation.  Much of what the
> bibles note is foreign enough to have weird bugs resulting in
> mysterious errors if used atypically or incorrectly.
>
> https://www.shellcheck.net/
> https://github.com/koalaman/shellcheck



    Thanks guys. I'll try this all, but I noticed from markdown
documents I wrote, that the markdown utility found on the Devuan/Debian
repository does not produce correct HTML. It misses at least the
<!DOCTYPE HTML>, <html> and <body> tags at the begining, and </body> and
</html> at the end.

--     Didier