diff --git a/.vscode/settings.json b/.vscode/settings.json index 8b9c135..c7d2179 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -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": "", + "markdown-pdf.styles": ["docs/style.css"] } diff --git a/docs/style.css b/docs/style.css new file mode 100644 index 0000000..538c3fb --- /dev/null +++ b/docs/style.css @@ -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; +}