Unfortunately, this change has destroyed code block rendering
This is not true the problem about your specific error you found is that the code continues directly after the fenced block, there should
be a new line after every ```
``` [user@work ~]$ export QUBES_GPG_DOMAIN=work-gpg [user@work ~]$ gpg -K [user@work ~]$ qubes-gpg-client -K /home/user/.gnupg/secring.gpg —————————– sec 4096R/3F48CB21 2012-11-15 uid Qubes OS Security Team secu...@qubes-os.org ssb 4096R/30498E2A 2012-11-15 (…)
[user@work ~]$ qubes-gpg-client secret_message.txt.asc (…) ```
it looks like this in the .md file:
```
[user@work ~]$ export QUBES_GPG_DOMAIN=work-gpg
[user@work ~]$ gpg -K
[user@work ~]$ qubes-gpg-client -K
/home/user/.gnupg/secring.gpg
-----------------------------
sec 4096R/3F48CB21 2012-11-15
uid Qubes OS Security Team <secu...@qubes-os.org>
ssb 4096R/30498E2A 2012-11-15
(...)
[user@work ~]$ qubes-gpg-client secret_message.txt.asc
(...)
```
if you run:
~$ cat SplitGpg.md | grep -E "\`\`\`" | wc -l
10
- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBCAAGBQJWAePxAAoJENuP0xzK19csqoEIAIdyuFhnxf2/h5WD14h0E8sf
8yF7IJ82XsGGBcYW+Af+3udU7LOuISJpmCPMVD1lrdJh6PW/+NR1t2XX7RDKLkDk
FjlIHgCZcKMh+qVgLabaFvNqY32ProHYgeSR3dFJzFBEag64JBMIO7TDXWWh/qLK
UDSAl1Nfh0bo2qfpPY1PWWrhkV0cWMtBMyl9FuLcowyt7ujHMhAnB4Pdf2upP0Mr
pRVO01P5IshFNspGyk4IhaFKRCwERBwp0Mh2+m+sMh0xuZr2Q5OJNOHvlN+Htd+z
O79SswB963p+BbeitI5uFtiMn/lgJ11dw7mvGSGgIGRba19fYoowjcTLIhOWp2s=
=nm53
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Jeremias E.:
> Hello,
>
> kramdown also supports fenced code blocks with ~~~ three tilde
> instead of three ``` (see:
> http://kramdown.gettalong.org/syntax.html#code-blocks) This would
> be an easy change.
>
I replaced the github flavored code blocks by kramdown's three tilde fenced code blocks.
I tested a lot and it should work with the current qubes-doc settings.
I created a pull request.