Skip to content

Commit 09a1533

Browse files
Initial commit
0 parents  commit 09a1533

105 files changed

Lines changed: 17863 additions & 0 deletions

File tree

Some content is hidden

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

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 3
7+
end_of_line = lf
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
max_line_length = 90

.github/workflows/markedpp.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Process Markdown and Commit Changes
2+
3+
on: [push]
4+
5+
jobs:
6+
process-markdown:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout code
10+
uses: actions/checkout@v4
11+
with:
12+
ref: ${{ github.head_ref }}
13+
fetch-depth: 0
14+
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: "21"
19+
20+
- name: Install dependencies
21+
run: npm install -g markedpp prettier
22+
23+
- name: Run markedpp
24+
run: |
25+
find . -name '*.md' -exec markedpp --no-autonumber -i {} -o {} \;
26+
27+
- name: Run prettier
28+
run: npx prettier --write "**/*.md"
29+
30+
- name: Commit and Push Changes
31+
run: |
32+
git config --global user.email "action@github.com"
33+
git config --global user.name "GitHub Action"
34+
git add .
35+
git commit -m "Process Markdown files" || echo "No changes to commit"
36+
git push
37+
38+
# - name: Commit changes
39+
# uses: stefanzweifel/git-auto-commit-action@v4
40+
# with:
41+
# commit_message: "Apply Prettier formatting"
42+
# file_pattern: "**/*.md"

.github/workflows/prettier.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Prettier Formatting
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
7+
jobs:
8+
prettier:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v4
14+
with:
15+
ref: ${{ github.head_ref }}
16+
fetch-depth: 0
17+
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: "21"
22+
23+
- name: Install dependencies
24+
run: npm install prettier
25+
26+
- name: Run Prettier
27+
run: npx prettier --write "**/*.md"
28+
29+
- name: Commit changes
30+
uses: stefanzweifel/git-auto-commit-action@v4
31+
with:
32+
commit_message: "Apply Prettier formatting"
33+
file_pattern: "**/*.md"

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.obsidian
2+
*.sh
3+
node_modules
4+
*.swp

.markdownlint.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"MD007": false,
3+
"MD013": false,
4+
"MD023": false,
5+
"MD029": false,
6+
"MD030": false,
7+
"MD033": false
8+
}

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

.prettierrc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"proseWrap": "always",
3+
"printWidth": 90,
4+
"overrides": [
5+
{
6+
"files": "*.md",
7+
"options": {
8+
"printWidth": 90
9+
}
10+
}
11+
]
12+
}

.vscode/extensions.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"recommendations": [
3+
"shd101wyy.markdown-preview-enhanced",
4+
"editorconfig.editorconfig",
5+
"streetsidesoftware.code-spell-checker",
6+
"davidanson.vscode-markdownlint",
7+
"esbenp.prettier-vscode",
8+
"mhutchie.git-graph",
9+
"github.copilot",
10+
"github.copilot-chat"
11+
]
12+
}

.vscode/markdown.code-snippets

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"Workshop Step": {
3+
"prefix": "step",
4+
"body": [
5+
"1. **${1:TBD}**",
6+
"",
7+
" ```markdown",
8+
" ${2:Insert prompt here}",
9+
" ```",
10+
"",
11+
" <details>",
12+
" <summary><strong>View Response</strong></summary>",
13+
" <blockquote>",
14+
"",
15+
"${3:Insert response here}",
16+
"",
17+
" </blockquote>",
18+
" </details>",
19+
],
20+
"description": "Inserts a Workshop step",
21+
},
22+
"Note Snippet": {
23+
"prefix": "note",
24+
"body": ["> [!NOTE]", ">", "> _TBD_"],
25+
"description": "Inserts a Note block",
26+
},
27+
"Tip Snippet": {
28+
"prefix": "tip",
29+
"body": ["> [!TIP]", ">", "> _TBD_"],
30+
"description": "Inserts a Tip block",
31+
},
32+
"Important Snippet": {
33+
"prefix": "important",
34+
"body": ["> [!IMPORTANT]", ">", "> _TBD_"],
35+
"description": "Inserts an Important block",
36+
},
37+
"Warning Snippet": {
38+
"prefix": "warning",
39+
"body": ["> [!WARNING]", ">", "> _TBD_"],
40+
"description": "Inserts a Warning block",
41+
},
42+
"Caution Snippet": {
43+
"prefix": "caution",
44+
"body": ["> [!CAUTION]", ">", "> _TBD_"],
45+
"description": "Inserts a Caution block",
46+
},
47+
}

.vscode/settings.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"workbench.colorCustomizations": {
3+
"activityBar.activeBackground": "#c77c7c",
4+
"activityBar.background": "#c77c7c",
5+
"activityBar.foreground": "#15202b",
6+
"activityBar.inactiveForeground": "#15202b99",
7+
"activityBarBadge.background": "#bce2bc",
8+
"activityBarBadge.foreground": "#15202b",
9+
"commandCenter.border": "#e7e7e799",
10+
"sash.hoverBorder": "#c77c7c",
11+
"statusBar.background": "#b85858",
12+
"statusBar.foreground": "#e7e7e7",
13+
"statusBarItem.hoverBackground": "#c77c7c",
14+
"statusBarItem.remoteBackground": "#b85858",
15+
"statusBarItem.remoteForeground": "#e7e7e7",
16+
"titleBar.activeBackground": "#b85858",
17+
"titleBar.activeForeground": "#e7e7e7",
18+
"titleBar.inactiveBackground": "#b8585899",
19+
"titleBar.inactiveForeground": "#e7e7e799"
20+
},
21+
"peacock.color": "#b85858",
22+
"editor.formatOnPaste": true,
23+
"editor.formatOnSave": true,
24+
"editor.defaultFormatter": "esbenp.prettier-vscode",
25+
"cSpell.enabled": false
26+
}

0 commit comments

Comments
 (0)