picosh / pico

hacker labs - open source and managed web services leveraging SSH
https://pico.sh
MIT License
758 stars 27 forks source link

Support LaTeX rendering #10

Open Schwefelhexa opened 1 year ago

Schwefelhexa commented 1 year ago

Allow users to render LaTeX by wrapping the code in $-tags. This is part of GFM, as well as GLFM.

I'd be willing to help with the implementation.

neurosnap commented 1 year ago

Greetings! We will happily review any PRs to support this feature!

neurosnap commented 1 year ago

For anyone wanting to work on adding latex rendering: https://github.com/picosh/pico/blob/e445a79463f4d2724090e1b231208ef6aba55e0f/shared/mdparser.go#L184

Schwefelhexa commented 1 year ago

Sorry for taking so long, uni exams had me pretty busy. PR is now up

geek-9 commented 4 months ago

meybe add some graph diagrams? graphviz, tikz or simple groff for example :

.PS
box "box1";
line
box "box2";
.PE
+------+     +------+
|      +-----|      |
| box1 |     |box2  |
+------+     +------+

https://github.com/blampe/goat I like svg too ;)