Skip to content

Commit

Permalink
addressed errors from log file
Browse files Browse the repository at this point in the history
  • Loading branch information
AgedLace committed Aug 13, 2024
1 parent 5014181 commit 48c0d56
Show file tree
Hide file tree
Showing 8 changed files with 140 additions and 37 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ __pycache__
# Project specific
.obsidian/
.trash/
_attachments/
_templates/

# Logs
*_mkdocs_build.log
Expand Down
10 changes: 5 additions & 5 deletions docs/03-Formatting/Github-Flavored-Markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,9 @@ Let's rename \*our-new-project\* to \*our-old-project\*
[I'm an inline-style link with title](https://www.google.com "Google's Homepage")

[I'm a reference-style link][Arbitrary case-insensitive reference text]

%%
[I'm a relative reference to a repository file](../blob/master/LICENSE)

%%
[You can use numbers for reference-style link definitions][1]

Or leave it empty and use the [link text itself].
Expand All @@ -234,9 +234,9 @@ Some text to show that the reference links can follow later.
[I'm an inline-style link with title](https://www.google.com "Google's Homepage")

[I'm a reference-style link][Arbitrary case-insensitive reference text]

%%
[I'm a relative reference to a repository file](../blob/master/LICENSE)

%%
[You can use numbers for reference-style link definitions][1]

Or leave it empty and use the [link text itself].
Expand Down Expand Up @@ -647,4 +647,4 @@ Underscores

and multiple paragraphs.

[^2]: Footnote text.
[^2]: Footnote text.
4 changes: 2 additions & 2 deletions docs/03-Formatting/Obsidian-Advanced-Formatting.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ You can use [[Obsidian-Basic-Formatting]] to style content within a table.

> [!note] Vertical bars in tables
>
> If you want to use aliases, or to [[Obsidian-Basic-Formatting#External images|resize an image]] in your table, you need to add a `\` before the vertical bar.
> If you want to use aliases, or to resize an image in your table, you need to add a `\` before the vertical bar.

```md
Expand Down Expand Up @@ -197,4 +197,4 @@ This is an inline math expression $e^{2i\pi} = 1$.

For more information about the syntax, refer to [MathJax basic tutorial and quick reference](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference).

For a list of supported MathJax packages, refer to [The TeX/LaTeX Extension List](http://docs.mathjax.org/en/latest/input/tex/extensions/index.html).
For a list of supported MathJax packages, refer to [The TeX/LaTeX Extension List](http://docs.mathjax.org/en/latest/input/tex/extensions/index.html).
2 changes: 1 addition & 1 deletion docs/03-Formatting/Obsidian-Basic-Formatting.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Obsidian-Basic-Formatting
slug: obsidian-basic
date: 2024-08-11 10:44:54
update: 2024-08-11 11:09:22
update: 2024-08-12 05:47:18
publish: "true"
tags:
- Formatting/Markdown/Obsidian/Basic
Expand Down
3 changes: 0 additions & 3 deletions docs/_assets/README.md

This file was deleted.

36 changes: 10 additions & 26 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,29 @@ site_url: https://benotdeceived.org/Test-MkDocs-Publisher
site_author: Author's Name
site_description: Testing Publisher for MkDocs
copyright: >
© 2024 - Copyright Owner
# site_dir: docs
#
# use_directory_urls: true
# strict: true
© 2024 - Author
# dev_addr: 127.0.0.1:8666

# extra:
# homepage: https://benotdeceived.org/Test-MkDocs-Publisher

# extra_css:
# - assets/stylesheets/publisher.css
extra_css:
- assets/stylesheets/publisher.css

# extra_javascript:
extra_javascript:
# MathJax
# - assets/javascripts/mathjax.js
# - https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
- assets/javascripts/mathjax.js
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
# Icons hack
# - https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/js/all.min.js
- https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/js/all.min.js

#watch:
# - overrides
watch:
- overrides

theme:
name: material
language: en
font:
code: Lato
# custom_dir: overrides
custom_dir: overrides
# logo: publisher_logo.png
# favicon: publisher_icon.png

Expand All @@ -56,22 +48,14 @@ theme:

features:
- navigation.tabs
# - navigation.tabs.sticky
- navigation.footer # Prev/Next page
- navigation.tracking # Anchor tracking
- navigation.top # Back to top
- navigation.sections # Useful for an overview
- navigation.indexes # Needed for an overview
# - navigation.instant
# - navigation.instant.progress
- search.suggest
- search.highlight
- search.share
# - content.action.edit
# - content.action.view
# - content.code.copy
# - content.code.annotate
# - content.tabs.link
- toc.follow

markdown_extensions:
Expand Down
19 changes: 19 additions & 0 deletions overrides/assets/javascripts/mathjax.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
window.MathJax = {
tex: {
inlineMath: [["\\(", "\\)"]],
displayMath: [["\\[", "\\]"]],
processEscapes: true,
processEnvironments: true
},
options: {
ignoreHtmlClass: ".*|",
processHtmlClass: "arithmatex"
}
};

document$.subscribe(() => {
MathJax.startup.output.clearCache()
MathJax.typesetClear()
MathJax.texReset()
MathJax.typesetPromise()
})
101 changes: 101 additions & 0 deletions overrides/assets/stylesheets/publisher.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
.tabbed-set {
border-bottom: 0.1rem solid var(--md-accent-fg-color);
}

.tabbed-set .tabbed-set {
border-bottom: 0;
padding-bottom: 0.5rem;
}

.md-typeset details > p {
margin-top: 0.375em;
margin-bottom: 0.375em;
}

/* Settings admonition style */

:root {
--md-admonition-icon--settings: url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="24" height="24" viewBox="0 0 24 24"%3E%3Cpath fill="currentColor" d="M12 15.5A3.5 3.5 0 0 1 8.5 12A3.5 3.5 0 0 1 12 8.5a3.5 3.5 0 0 1 3.5 3.5a3.5 3.5 0 0 1-3.5 3.5m7.43-2.53c.04-.32.07-.64.07-.97c0-.33-.03-.66-.07-1l2.11-1.63c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.31-.61-.22l-2.49 1c-.52-.39-1.06-.73-1.69-.98l-.37-2.65A.506.506 0 0 0 14 2h-4c-.25 0-.46.18-.5.42l-.37 2.65c-.63.25-1.17.59-1.69.98l-2.49-1c-.22-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64L4.57 11c-.04.34-.07.67-.07 1c0 .33.03.65.07.97l-2.11 1.66c-.19.15-.25.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1.01c.52.4 1.06.74 1.69.99l.37 2.65c.04.24.25.42.5.42h4c.25 0 .46-.18.5-.42l.37-2.65c.63-.26 1.17-.59 1.69-.99l2.49 1.01c.22.08.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.66Z"%2F%3E%3C%2Fsvg%3E');
}

.md-typeset .admonition.settings,
.md-typeset details.settings {
margin: 0.5rem 0 0.5rem 1rem;
font-size: 0.8rem;
box-shadow: none;
border: none;
padding-right: 0;
}

.md-typeset .settings > .admonition-title,
.md-typeset .settings > summary {
padding-top: 0.2em;
padding-bottom: 0.2em;
margin-left: -2rem;
background-color: var(--md-code-bg-color);
}

.md-typeset .settings .admonition-title::before,
.md-typeset .settings > summary::before {
background-color: var(--md-accent-fg-color);
-webkit-mask-image: var(--md-admonition-icon--settings);
mask-image: var(--md-admonition-icon--settings);
}

.md-typeset details .admonition-title::before,
.md-typeset details .admonition-title::after,
.md-typeset details > summary::before,
.md-typeset details > summary::after {
top: 0.375em;
}

.mermaid {
text-align: center;
}

.md-typeset .admonition.none,
.md-typeset details.none {
margin-left: 2rem;
margin-right: 1rem;
font-size: .8rem;
text-align: justify;
border: none;
box-shadow: none;
}

.md-typeset .none > .admonition-title,
.md-typeset .none > summary {
padding-left: .6rem;
padding-right: .6rem;
padding-bottom: 0;
margin-left: -2.8rem;
margin-right: 0;
font-size: 1.5625em;
line-height: 1.4;
font-weight: 600;
color: var(--md-accent-fg-color);
letter-spacing: -.01em;
background-color: var(--md-default-bg-color--light);
}
.md-typeset .none > .admonition-title > span {
margin-right: .4rem;
}

.md-typeset .none > .admonition-title::before,
.md-typeset .none > summary::before {
all: initial;
}

@keyframes heart {
0%, 40%, 80%, 100% {
transform: scale(1);
}
20%, 60% {
transform: scale(1.15);
}
}

.heart {
color: red;
animation: heart 1000ms infinite;
}

0 comments on commit 48c0d56

Please sign in to comment.