-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to another approach of generation PDF from MD file
- Loading branch information
1 parent
98666b0
commit 7792b3c
Showing
4 changed files
with
87 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
|
||
curl -v --data-urlencode "markdown=$(cat Andrei_Punko_CV_\(eng\).md)" -d "css=$(cat style.css)" --output pdf/Andrei_Punko_CV_\(eng\).pdf https://md-to-pdf.fly.dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* You can add some CSS styles too, if you want. */ | ||
|
||
h1, h2 { | ||
color: MidnightBlue; | ||
} | ||
|
||
h3, h4 { | ||
color: Maroon; | ||
} | ||
|
||
table { | ||
border-collapse: collapse; | ||
} | ||
|
||
table, th, td { | ||
border: 1px solid DimGray; | ||
} | ||
|
||
th, td { | ||
text-align: left; | ||
padding: 1em; | ||
} | ||
|
||
body { | ||
font-size: 11px; | ||
word-wrap: break-word; | ||
} |