Skip to content

Commit 9133db4

Browse files
committed
Merge branch 'fix/theme'
2 parents a03c804 + 539c8fe commit 9133db4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+26803
-7
lines changed

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

config.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ summaryLength = 20
1414
tocTitle = "contents"
1515
favicon = "favicon.ico"
1616
noDescription = true
17+
math = true
1718

1819
[languages]
1920
[languages.en]
@@ -44,3 +45,15 @@ summaryLength = 20
4445
# identifier = "showcase"
4546
# name = "Showcase"
4647
# url = "/showcase"
48+
49+
[markup]
50+
[markup.goldmark]
51+
[markup.goldmark.extensions]
52+
[markup.goldmark.extensions.passthrough]
53+
enable = true
54+
[markup.goldmark.extensions.passthrough.delimiters]
55+
block = [['\[', '\]'], ['$$', '$$']]
56+
inline = [['\(', '\)']]
57+
58+
[markup.goldmark.renderer]
59+
unsafe = true

content/post/multiply.md

Lines changed: 707 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
<!--
2-
custom footer
3-
-->
1+
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
2+
<script>
3+
MathJax = {
4+
tex: {
5+
displayMath: [['\\[', '\\]'], ['$$', '$$']], // block
6+
inlineMath: [['\\(', '\\)']] // inline
7+
}
8+
};
9+
</script>

layouts/partials/math.html

Whitespace-only changes.

static/manual.png

32.9 KB
Loading

themes/terminal

Lines changed: 0 additions & 1 deletion
This file was deleted.

themes/terminal/.babelrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"presets": [
3+
["@babel/preset-env", {
4+
"targets": "last 2 versions, >1%, not dead"
5+
}],
6+
],
7+
}

themes/terminal/.eslintrc.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
3+
env:
4+
es6: true
5+
6+
extends:
7+
# https://github.com/airbnb/javascript
8+
- airbnb
9+
- eslint:recommended
10+
- prettier
11+
12+
parser: babel-eslint
13+
14+
rules:
15+
# best practices
16+
arrow-parens:
17+
- 2
18+
- as-needed
19+
semi:
20+
- 2
21+
- never
22+
class-methods-use-this: 0
23+
comma-dangle:
24+
- 2
25+
- always-multiline
26+
no-console:
27+
- 2
28+
no-unused-expressions: 0
29+
no-param-reassign:
30+
- 2
31+
- props: false
32+
no-useless-escape: 0
33+
func-names: 0
34+
quotes:
35+
- 2
36+
- single
37+
- allowTemplateLiterals: true
38+
no-underscore-dangle: 0
39+
object-curly-newline: 0
40+
function-paren-newline: 0
41+
operator-linebreak:
42+
- 2
43+
- after
44+
no-unused-vars:
45+
- 2
46+
- argsIgnorePattern: "^_"
47+
# jsx a11y
48+
jsx-a11y/no-static-element-interactions: 0
49+
jsx-a11y/anchor-is-valid:
50+
- 2
51+
- specialLink:
52+
- to
53+
54+
globals:
55+
document: true
56+
requestAnimationFrame: true
57+
window: true
58+
self: true
59+
fetch: true
60+
Headers: true

themes/terminal/.gitignore

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
# Created by https://www.gitignore.io/api/node
2+
# Edit at https://www.gitignore.io/?templates=node
3+
4+
### Node ###
5+
# Logs
6+
logs
7+
*.log
8+
npm-debug.log*
9+
yarn-debug.log*
10+
yarn-error.log*
11+
lerna-debug.log*
12+
13+
# Diagnostic reports (https://nodejs.org/api/report.html)
14+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
15+
16+
# Runtime data
17+
pids
18+
*.pid
19+
*.seed
20+
*.pid.lock
21+
22+
# Directory for instrumented libs generated by jscoverage/JSCover
23+
lib-cov
24+
25+
# Coverage directory used by tools like istanbul
26+
coverage
27+
28+
# nyc test coverage
29+
.nyc_output
30+
31+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
32+
.grunt
33+
34+
# Bower dependency directory (https://bower.io/)
35+
bower_components
36+
37+
# node-waf configuration
38+
.lock-wscript
39+
40+
# Compiled binary addons (https://nodejs.org/api/addons.html)
41+
build/Release
42+
43+
# Dependency directories
44+
node_modules/
45+
jspm_packages/
46+
47+
# TypeScript v1 declaration files
48+
typings/
49+
50+
# Optional npm cache directory
51+
.npm
52+
53+
# Optional eslint cache
54+
.eslintcache
55+
56+
# Optional REPL history
57+
.node_repl_history
58+
59+
# Output of 'npm pack'
60+
*.tgz
61+
62+
# Yarn Integrity file
63+
.yarn-integrity
64+
65+
# dotenv environment variables file
66+
.env
67+
.env.test
68+
69+
# parcel-bundler cache (https://parceljs.org/)
70+
.cache
71+
72+
# next.js build output
73+
.next
74+
75+
# nuxt.js build output
76+
.nuxt
77+
78+
# vuepress build output
79+
.vuepress/dist
80+
81+
# Serverless directories
82+
.serverless/
83+
84+
# FuseBox cache
85+
.fusebox/
86+
87+
# DynamoDB Local files
88+
.dynamodb/
89+
90+
# End of https://www.gitignore.io/api/node

0 commit comments

Comments
 (0)