ALVAROPING1 / Trailmakers-LogicBlocksGuide

A guide about how logic blocks work in the game "Trailmakers"
GNU General Public License v3.0
4 stars 1 forks source link

Github only supports Markdown not LaTeX for md files. #10

Open neoh4x0r opened 2 months ago

neoh4x0r commented 2 months ago

Github tries to render Logic Blocks Guide.md as Markdown -- it needs to have .tex flle extension.

ALVAROPING1 commented 2 months ago

I know. For the most part, it's a markdown file (specially after the rework i merged yesterday which removed a lot of ugly hacks) because it's easier to edit than latex, but i use some embedded latex (tikzpictures) for diagrams/graphs since there is no default markdown way to do that. I know mermaid exists, but afaik it doesn't give enough control over nodes/arrows' positions for the diagrams i make, which is why i use latex for that. The file is intended to be viewed in pdf after compiling it with pandoc, which renders everything properly

neoh4x0r commented 2 months ago

i use some embedded latex (tikzpictures) for diagrams/graphs since there is no default markdown way to do that

Assuming the diagrams won't change very much, you could pre-compile the the LaTeX Tikz diagrams to svg, uploading them into the images directory, and then include them as graphics.

That is if you wanted a pure Markdown file.