Skip to content

Commit

Permalink
admonition, obsidian, and p2bt things
Browse files Browse the repository at this point in the history
  • Loading branch information
namrog84 committed Nov 12, 2023
1 parent 87b76b3 commit 0330945
Show file tree
Hide file tree
Showing 30 changed files with 444 additions and 18 deletions.
1 change: 1 addition & 0 deletions .obsidian/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
3 changes: 3 additions & 0 deletions .obsidian/appearance.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"accentColor": ""
}
3 changes: 3 additions & 0 deletions .obsidian/community-plugins.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[
"obsidian-markdown-file-suffix"
]
30 changes: 30 additions & 0 deletions .obsidian/core-plugins-migration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"file-explorer": true,
"global-search": true,
"switcher": true,
"graph": true,
"backlink": true,
"canvas": true,
"outgoing-link": true,
"tag-pane": true,
"properties": false,
"page-preview": true,
"daily-notes": true,
"templates": true,
"note-composer": true,
"command-palette": true,
"slash-command": false,
"editor-status": true,
"bookmarks": true,
"markdown-importer": false,
"zk-prefixer": false,
"random-note": false,
"outline": true,
"word-count": true,
"slides": false,
"audio-recorder": false,
"workspaces": false,
"file-recovery": true,
"publish": false,
"sync": false
}
20 changes: 20 additions & 0 deletions .obsidian/core-plugins.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[
"file-explorer",
"global-search",
"switcher",
"graph",
"backlink",
"canvas",
"outgoing-link",
"tag-pane",
"page-preview",
"daily-notes",
"templates",
"note-composer",
"command-palette",
"editor-status",
"bookmarks",
"outline",
"word-count",
"file-recovery"
]
1 change: 1 addition & 0 deletions .obsidian/hotkeys.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
61 changes: 61 additions & 0 deletions .obsidian/plugins/obsidian-markdown-file-suffix/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
/*
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
if you want to view the source, please visit the github repository of this plugin
*/

var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __reflectGet = Reflect.get;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var __superGet = (cls, obj, key) => __reflectGet(__getProtoOf(cls), key, obj);
var __async = (__this, __arguments, generator) => {
return new Promise((resolve, reject) => {
var fulfilled = (value) => {
try {
step(generator.next(value));
} catch (e) {
reject(e);
}
};
var rejected = (value) => {
try {
step(generator.throw(value));
} catch (e) {
reject(e);
}
};
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
step((generator = generator.apply(__this, __arguments)).next());
});
};

// main.ts
var main_exports = {};
__export(main_exports, {
default: () => MarkdownSuffixPlugin
});
module.exports = __toCommonJS(main_exports);
var import_obsidian = require("obsidian");
var MarkdownSuffixPlugin = class extends import_obsidian.Plugin {
onload() {
return __async(this, null, function* () {
__superGet(MarkdownSuffixPlugin.prototype, this, "onload").call(this);
this.registerExtensions(["mdx", "svx"], "markdown");
});
}
};
10 changes: 10 additions & 0 deletions .obsidian/plugins/obsidian-markdown-file-suffix/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"id": "obsidian-markdown-file-suffix",
"name": "Addional Markdown suffix (.mdx/.svx).",
"version": "1.0.0",
"minAppVersion": "0.10.12",
"description": "Use additional files like .mdx / .svx as if they were markdown.",
"author": "swissmation",
"authorUrl": "https://github.com/swissmation",
"isDesktopOnly": false
}
8 changes: 8 additions & 0 deletions .obsidian/plugins/obsidian-markdown-file-suffix/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*
This CSS file will be included with your plugin, and
available in the app when your plugin is enabled.
If your plugin does not need CSS, delete this file.
*/
169 changes: 169 additions & 0 deletions .obsidian/workspace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
{
"main": {
"id": "0d6fd9acaf7f7e39",
"type": "split",
"children": [
{
"id": "19930add4f1fc9c2",
"type": "tabs",
"children": [
{
"id": "632f257a686245ce",
"type": "leaf",
"state": {
"type": "empty",
"state": {}
}
}
]
}
],
"direction": "vertical"
},
"left": {
"id": "f06e118a3db12532",
"type": "split",
"children": [
{
"id": "39be5bcf0598647f",
"type": "tabs",
"children": [
{
"id": "b6fc5290919b9d05",
"type": "leaf",
"state": {
"type": "file-explorer",
"state": {
"sortOrder": "alphabetical"
}
}
},
{
"id": "a12b281db7288585",
"type": "leaf",
"state": {
"type": "search",
"state": {
"query": "",
"matchingCase": false,
"explainSearch": false,
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical"
}
}
},
{
"id": "dba4a164d07d4cee",
"type": "leaf",
"state": {
"type": "bookmarks",
"state": {}
}
}
]
}
],
"direction": "horizontal",
"width": 300
},
"right": {
"id": "327b411306c047a6",
"type": "split",
"children": [
{
"id": "1fedc19471b3548f",
"type": "tabs",
"children": [
{
"id": "1475965652159445",
"type": "leaf",
"state": {
"type": "backlink",
"state": {
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
"showSearch": false,
"searchQuery": "",
"backlinkCollapsed": false,
"unlinkedCollapsed": true
}
}
},
{
"id": "0f161700b2b88351",
"type": "leaf",
"state": {
"type": "outgoing-link",
"state": {
"linksCollapsed": false,
"unlinkedCollapsed": true
}
}
},
{
"id": "511b353fb075d80a",
"type": "leaf",
"state": {
"type": "tag",
"state": {
"sortOrder": "frequency",
"useHierarchy": true
}
}
},
{
"id": "d52f6681693d4c51",
"type": "leaf",
"state": {
"type": "outline",
"state": {}
}
}
]
}
],
"direction": "horizontal",
"width": 300,
"collapsed": true
},
"left-ribbon": {
"hiddenItems": {
"switcher:Open quick switcher": false,
"graph:Open graph view": false,
"canvas:Create new canvas": false,
"daily-notes:Open today's daily note": false,
"templates:Insert template": false,
"command-palette:Open command palette": false
}
},
"active": "632f257a686245ce",
"lastOpenFiles": [
"src/theme/DocItem/index.js",
"src/theme/DocItem",
"src/components/DocItem/index.tsx",
"src/components/DocItem",
"src/theme/Admonition/Types.js",
"src/theme/Admonition/Icon/Info.js",
"src/theme/Admonition/Icon",
"src/theme/Admonition/styles.module.css",
"src/theme/Admonition",
"src/theme",
"products/plugins/p2bt/GettingStarted.mdx",
"products/plugins/p2bt/img/p2bt-duplicate.png",
"products/plugins/p2bt/img/p2bt-commands.png",
"products/plugins/p2bt/img/p2bt-material.png",
"products/plugins/p2bt/img/ScreenShot00007.png",
"products/plugins/p2bt/img/ScreenShot00008.png",
"products/plugins/p2bt/img/ScreenShot00006.png",
"products/plugins/p2bt/img/ScreenShot00004.png",
"products/plugins/p2bt/img/ScreenShot00005.png",
"products/plugins/p2bt/img/p2bt-transform.png",
"products/plugins/p2bt/img/mqyo2eduD7.png",
"products/plugins/Details.md",
"products/games/P1/music.md",
"products/games/P1/screenshots.md",
"products/games/P1/videos.md"
]
}
8 changes: 6 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ const config = {
deploymentBranch: 'gh-pages',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',

i18n: {
defaultLocale: 'en',
locales: ['en'],
Expand All @@ -39,6 +38,11 @@ const config = {
path: 'products',
routeBasePath: 'products',
sidebarCollapsible: true,
docItemComponent: '/src/theme/DocItem',
admonitions: {
keywords: ['HL'],
extendDefaults: true,
}
},
blog: {
blogTitle: 'News',
Expand Down Expand Up @@ -144,7 +148,7 @@ const config = {
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
}
}),
};

Expand Down
12 changes: 0 additions & 12 deletions products/plugins/p2botk.mdx

This file was deleted.

5 changes: 5 additions & 0 deletions products/plugins/p2bt/GettingStarted.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

# Getting Started



26 changes: 26 additions & 0 deletions products/plugins/p2bt/details.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

# Examples


:::my-custom-admonition title goes here
content goes here
:::


# TownExample

![TownExample](./img/ScreenShot00005.png)

# Random Pieces

![PieceExample](./img/ScreenShot00004.png)

# Abstract Examples

![AbstractExample](./img/ScreenShot00006.png)

![Abstractexample2](./img/ScreenShot00008.png)

# Castle Example

![CastleExample](./img/ScreenShot00007.png)
Binary file added products/plugins/p2bt/img/ScreenShot00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added products/plugins/p2bt/img/ScreenShot00005.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added products/plugins/p2bt/img/ScreenShot00006.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added products/plugins/p2bt/img/ScreenShot00007.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added products/plugins/p2bt/img/ScreenShot00008.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added products/plugins/p2bt/img/p2bt-commands.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added products/plugins/p2bt/img/p2bt-duplicate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added products/plugins/p2bt/img/p2bt-material.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added products/plugins/p2bt/img/p2bt-transform.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0330945

Please sign in to comment.