-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
100 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
*.map | ||
*.map | ||
latex.css |
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,92 @@ | ||
/* | ||
|
||
LaTeX inspired PDF Export Theme for https://obsidian.md | ||
Made by @phibr0 on Github | ||
|
||
Tested with Obsidians default Theme and the California Coast Community Theme | ||
|
||
Please don't share this File with others, instead share this Link: https://www.buymeacoffee.com/phibr0/e/42263 | ||
|
||
*/ | ||
|
||
/* @settings | ||
|
||
name: LaTeX like PDF's | ||
id: latex-pdf-css | ||
settings: | ||
- | ||
id: pdf-font | ||
title: PDF Font | ||
description: Font used for the exported PDF's (The CSS Snippet includes the Computer Modern Font) | ||
type: variable-text | ||
default: "CMU Serif" | ||
- | ||
id: pdf-mono-font | ||
title: PDF Monospace Font | ||
description: "Monospaced Font used for the exported PDF's (For use in Code)" | ||
type: variable-text | ||
default: "monospace, Consolas" | ||
- | ||
id: enhanced-everything | ||
title: LaTeX like Enhancements | ||
type: heading | ||
level: 3 | ||
collapsed: true | ||
- | ||
id: enhanced-page-breaks | ||
title: Enhanced Page Breaks | ||
description: "Improves Page Breaking in Obsidian's PDF's" | ||
type: class-toggle | ||
default: true | ||
- | ||
id: enhanced-tables | ||
title: Enhanced Tables | ||
type: class-toggle | ||
default: true | ||
- | ||
id: enhanced-blockquotes | ||
title: Enhanced Blockquotes | ||
type: class-toggle | ||
default: true | ||
- | ||
id: enhanced-codeblocks | ||
title: Enhanced Codeblocks | ||
type: class-toggle | ||
default: true | ||
- | ||
id: codeblock-background | ||
title: Codeblock Background Color | ||
type: variable-color | ||
opacity: false | ||
format: hex | ||
default: '#FFFAF0' | ||
- | ||
id: enhanced-images | ||
title: Enhanced Images | ||
type: class-toggle | ||
default: true | ||
- | ||
id: image-alt-text | ||
title: Show Image Numbering and Caption | ||
description: "Use it like so: [[Image.png|Caption here]]" | ||
type: class-toggle | ||
default: true | ||
- | ||
id: numbered-anything | ||
title: Numbering | ||
type: heading | ||
level: 3 | ||
collapsed: true | ||
- | ||
id: numbered-headings | ||
title: Numbered Headings | ||
description: "Number the Headings in your PDF. For example:\n1. Heading one\n1.1 Subheading" | ||
type: class-toggle | ||
default: true | ||
- | ||
id: numbered-math | ||
title: Numbered Math Environments | ||
description: "Number the Math Environments in your PDF." | ||
type: class-toggle | ||
default: true | ||
*/ |
This file was deleted.
Oops, something went wrong.
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,6 @@ | ||
sass .\latex.scss .\latex.css --no-source-map --style compressed | ||
|
||
$( | ||
(Get-Content comment.txt -Raw) | ||
(Get-Content latex.css -Raw) | ||
) | Out-File latex.css |
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