Comments (7)
Here is a little cheat sheet on how to convert .md to .pdf using Docker
git clone https://github.com/wsargent/docker-cheat-sheet
cd docker-cheat-sheet
# start image
docker run --rm -ti -v "$PWD:/cheat" ubuntu bash
# install toolchain
apt-get update && apt-get -y install pandoc texlive-xetex
# generate pdf
cd /cheat
pandoc --output book.html README.md
pandoc --output book.pdf book.html
# stop image
exit
# open book.pdf in your PDF Viewer
I recently did a similar work for my project which converts .md to book quality .pdf.
from docker-cheat-sheet.
from docker-cheat-sheet.
@ambatigan Copy paste the .md file into a word document and print away!
Or, you could use : http://www.markdowntopdf.com/
from docker-cheat-sheet.
How can i get that .md (markdown you meant) file? Btw, i see it as an image....
from docker-cheat-sheet.
Here you go
pdf.md.zip
from docker-cheat-sheet.
Depending on your operating system you can easily "print" the page to a pdf file. It's built-in on OS X and most Linux distributions, and for Windows there are plenty of free tools. It's easy to setup.
from docker-cheat-sheet.
I had make this PDF from the ReadMe.md File with my pandoc Config. This PDF have syntax highlighting, but it is only Version 1.0. If anyone wish an Update, this person can text with an update suggestion.
README.pdf
from docker-cheat-sheet.
Related Issues (20)
- Regarding "(it's in PDF which makes it hard to use, so copying below)"
- Hello add this cheat sheet to awesome-cheatsheet
- Docker Swarm Command aka docker service [...] HOT 2
- Broken Links HOT 1
- Fix Travis CI errors
- There's ad in Chinese `REAME.md` HOT 1
- multi-stage builds HOT 1
- Use releases HOT 1
- License? HOT 1
- bricked my linux box HOT 1
- Translations HOT 3
- Defective link HOT 4
- Invalidate links HOT 1
- Add gVisor HOT 1
- New docker CLI conventions
- Why do you say docker image ids are sensitive? HOT 2
- Exposing ports incorrect? HOT 3
- Validate Links HOT 3
- make it exportable in PDF, htm with versioning HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-cheat-sheet.