Open rigobert9 opened 2 years ago
Just tried ignoring the error (by replacing the error lines in the init.py with
svg_element_soup_representation = formula_rendered_soup.find("svg")
if(svg_element_soup_representation is not None):
svg_element_soup_representation["class"] = "gh-md-to-html-formula"
svg_element_soup_representation["style"] = "vertical-align: middle;"
The command-line tool echoes an error, but still proceeds, and then produces an html (or a pdf) with mojibake or whitespace instead of the LaTeX formulas
I've just discovered this tool and I need it to get my school notes up and running, but I've run into an error which I can't make sense of. This dump appears every time I try to use gh-md-to-html on a file :
I've only tried
gh-md-to-html file.md
andgh-md-to-html --math true --emoji-support 0 --dont-make-images-links true file.md -p \<name\>.pdf
which I found in the README so far, but this error probably comes from my own environment. I'm running Fedora 36 Plasma, and I tried to update everything on pip. Any pointers on what could be my problem ? Otherwise great software, just what I neede, keep at it !