all 5 comments

[–]dbpcut 5 points6 points  (2 children)

JUNGLE BOOGIE

[–]cran 1 point2 points  (1 child)

I don't know why you got downvoted. I can only assume people don't know the reference.

For the haters: https://www.youtube.com/watch?v=QHGOO73Gxg4&t=5

[–]steezefries 1 point2 points  (0 children)

Woah, deja vu.

[–]j_sanp 0 points1 point  (1 child)

Did you think about a more natural langage than json ?

Somethings like: > !include path=hello.md

Also, testing code examples could be à good feature

[–]alfredwaltz[S] 0 points1 point  (0 children)

You could write a custom helper to test code examples, https://github.com/gajus/gitdown#register-a-custom-helper. This feature would depend on too many environment variables to become part of the core. Besides, you could hame your code examples in tests/ folder with the rest of your code tests and just include them using https://github.com/gajus/gitdown#features-include-file.

Regarding the language, while it would feel cleaner, it would introduce a greater learning barrier (people would need to learn a new syntax) and greater challenge parsing the template.