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

Move to a different print format? #20

Open
pzehner opened this issue Apr 4, 2024 · 0 comments
Open

Move to a different print format? #20

pzehner opened this issue Apr 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@pzehner
Copy link
Member

pzehner commented Apr 4, 2024

Currently, Markdown files are converted to $\LaTeX$ to obtain a printable PDF file. This approach was quick to setup, but has its own limitations. We don't have a fine control on how elements are displayed in the flow of text. Automatic spacing between elements is tedious while neither tables nor code blocks can break between columns or pages. Maybe $\LaTeX$ isn't flexible enough for our needs.

Maybe we should use a different intermediate language, such as EPUB? This format is used for digital books and is based on HTML and CSS. Generating EPUB files with Pandoc is already feasible. The code examples may be highlighted by a JS library. Some nice CSS3 features such as column-count would give the same feel and taste as the current approach. Bonus point, we would have the web and the print version simultaneously!

This is not a burning topic, but is something to consider if we continue to improve the cheat sheet.

@pzehner pzehner added the enhancement New feature or request label Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant