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

Styles #3

Open
gnzlbg opened this issue Sep 11, 2018 · 2 comments
Open

Styles #3

gnzlbg opened this issue Sep 11, 2018 · 2 comments

Comments

@gnzlbg
Copy link

gnzlbg commented Sep 11, 2018

I would like to generate PDF from Markdown that look "like" when reading the markdown on github, that is, with a similar / same style.

@leroycep
Copy link
Owner

Hi, thanks for making an issue!

I agree that styling is an important issue, but I'm not quite sure how I want to handle it yet. At the moment, there are just a bunch of defaults that are used. Pull request #6 put all of these variables into the Config struct in src/lib.rs. It wouldn't be too difficult to make these variables be read in from a TOML or YAML file, but I'm not sure if that would be the best way to go about it.

Anyway, I just want to open up the discussion on how to represent styles. Perhaps we could make the "github style" the default, or make a bunch of default styles that people can choose from.

@otavio
Copy link

otavio commented Sep 19, 2018

Did you checked how asciidoctor-pdf does? It supports a good level of customizability.

Check out here:

https://asciidoctor.org/docs/asciidoctor-pdf/#themes

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

No branches or pull requests

3 participants