Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Pikchr support #90

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Add Pikchr support #90

wants to merge 1 commit into from

Conversation

data-man
Copy link

No description provided.

@data-man
Copy link
Author

The simple sample:

```pikchr
circle "lowdown"  color green
box rad 10px "+" bold
cylinder "pikchr" color blue
box "==" color 654321
oval "super cool!" color red
```

Rendered as:
aa

@kristapsdz
Copy link
Owner

Dr Hipp is brilliant, so I like the premise of this, but the biggest issue in getting this merged is that only -thtml will have output. It should have terminal (for -tterm, -tgemini), HTML, LaTeX, and ideally PIC as well, or else it'll be just another corner case of something supported for HTML.

@data-man
Copy link
Author

the biggest issue in getting this merged is that only -thtml will have output. It should have terminal

Of course, because pikchr only outputs SVG (at least for now). Why would SVG be useful in terminals?

But if you don't mind adding dependencies, I can add using ImageMagick to lowdown.
Then lowdown will be able to show images by converting them to sixels.

I know some Markdown viewers that support displaying images in a terminal, but they are written in Rust, and I' m not Rust friend. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants