Skip to content

Commit 3ec384a

Browse files
committed
2024-08-20/01: add explanation why sublists works in capivaras.dev
1 parent 876eae6 commit 3ec384a

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

2024-08-20/01-quick-bits-using-forks-with-go-modules.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ documentation is all scattered in the internet. So I am writing mostly to
77
remember myself, in future, if I have the same kind of issue what I need to do.
88

99
The context: [Mataroa](https://mataroa.blog/), the blog platform
10-
<capivaras.dev> is hosted on, relies in
10+
[capivaras.dev](https://capivaras.dev) is hosted on, relies in
1111
[python-markdown](https://python-markdown.github.io/), predates CommonMark
1212
specification and as such, has some incompatibilities. One of those
1313
incompatibilities with CommonMark is the way sub lists are handled. From the
@@ -29,9 +29,15 @@ CommonMark renderer called
2929
[Goldmark](https://github.com/yuin/goldmark/). I them re-render the Markdown to
3030
Mataroa using a [Markdown
3131
renderer](https://github.com/teekennedy/goldmark-markdown) before publising to
32-
<capivaras.dev>, because this allow me to do some transformations in the
33-
original Markdown. It mostly works fine except for sub lists, thanks to the
34-
fact that the Markdown renderer I am using renders sub lists with 2 spaces.
32+
[capivaras.dev](https://capivaras.dev), because this allow me to do some
33+
transformations in the original Markdown. It mostly works fine except for sub
34+
lists, thanks to the fact that the Markdown renderer I am using renders sub
35+
lists with 2 spaces.
36+
37+
The only reason sub lists are working right now is because
38+
[@ratsclub](https://gluer.org/) fixed this issue in the fork that
39+
[capivaras.dev](https://capivaras.dev) runs. But I want to be compatible with
40+
the official instance if I ever need to migrate.
3541

3642
The solution? Let's fix this in a
3743
[PR](https://github.com/teekennedy/goldmark-markdown/pull/21). However now that

0 commit comments

Comments
 (0)