ttscoff / mdless

MIT License
871 stars 39 forks source link

math equations ($$) #81

Closed Peshkatar closed 12 months ago

Peshkatar commented 1 year ago

Math equations not rendering in terminal (iterm2) on mac (ventura).

ttscoff commented 1 year ago

mdless has no processing for math. If it were to handle it, what would you expect it to output? Equations are out of the question in Terminal…

ttscoff commented 1 year ago

This is beyond the scope of what mdless hopes to do, sorry. If you can make it happen, I'd accept a pull request, but I'm not going to put time into figuring this out. You'd probably have to mix JS in with the ruby, and might even need a chromeless browser to render it... too much effort.

-Brett

On 1 Jun 2023, at 6:56, Richard Mitchell wrote:

If the equation could be converted into an image, it could be displayed in terminals supporting inline images.

I use this method to display a login banner with multiple fonts:

image

(it displays after the first command to avoid instant prompt warnings....)

-- Reply to this email directly or view it on GitHub: https://github.com/ttscoff/mdless/issues/81#issuecomment-1571913514 You are receiving this because you commented.

Message ID: @.***>

rwmitchell commented 1 year ago

fully concur! I couldn't find any easy way to convert equations without installing new packages.