mirror of
https://github.com/akaAgar/the-universal-mission-for-dcs-world.git
synced 2025-11-25 19:31:01 +00:00
Added markdown-pdf VSCode extension configuration and styles for the PDF manual
This commit is contained in:
parent
e66fe93ea0
commit
c16041f58b
6
.vscode/settings.json
vendored
6
.vscode/settings.json
vendored
@ -1,5 +1,9 @@
|
||||
{
|
||||
"files.exclude": { "*.miz": true },
|
||||
"Lua.workspace.library": ["Libraries/dcs-world-api.lua"],
|
||||
"Lua.diagnostics.disable": ["deprecated"]
|
||||
"Lua.diagnostics.disable": ["deprecated"],
|
||||
"markdown-pdf.convertOnSave": true,
|
||||
"markdown-pdf.convertOnSaveExclude": ["README.md"],
|
||||
"markdown-pdf.headerTemplate": "<span class='title' style='display: none;'></span>",
|
||||
"markdown-pdf.styles": ["docs/style.css"]
|
||||
}
|
||||
|
||||
35
docs/style.css
Normal file
35
docs/style.css
Normal file
@ -0,0 +1,35 @@
|
||||
html,
|
||||
body {
|
||||
background-color: white;
|
||||
color: black;
|
||||
font-family: Garamond, Georgia, "Times New Roman", Times, serif;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
h2 {
|
||||
background-color: black;
|
||||
color: white;
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
font-weight: bold;
|
||||
padding: 0.2rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
background-color: dimgray;
|
||||
color: white;
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
font-weight: bold;
|
||||
padding: 0.2rem;
|
||||
}
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
color: dimgray;
|
||||
text-decoration: none;
|
||||
border-bottom: 1px dotted dimgray;
|
||||
}
|
||||
|
||||
.heavy {
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
font-weight: bold;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user