https://github.com/veltzer/demos-highlight
Demos for doing text highlighting
https://github.com/veltzer/demos-highlight
demos
Last synced: 2 months ago
JSON representation
Demos for doing text highlighting
- Host: GitHub
- URL: https://github.com/veltzer/demos-highlight
- Owner: veltzer
- License: mit
- Created: 2020-12-26T10:48:40.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-03-21T21:02:42.000Z (3 months ago)
- Last Synced: 2025-03-21T22:19:20.234Z (3 months ago)
- Topics: demos
- Language: Makefile
- Homepage: https://github.com/veltzer/demos-highlight
- Size: 95.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# demos-pygments
Demos for how to do code highlighting using various tools## Tools
* pygments
* cli-highlightMore to come...
## The results?
* To get good images use wkhtmltoimage(1) to convert the HTML output of pygments to an image.
* Use the following options with wkhtmltoimage(1):
* --quality 100 --width 2048 --minimum-font-size 50
* Or better yet, just use the HTML or SVG output directly.