From b270f3abf08d6136e0cc828906f4c12cc0bddb1c Mon Sep 17 00:00:00 2001 From: HEIGE-PCloud Date: Fri, 16 Apr 2021 13:11:44 +0100 Subject: [PATCH 01/11] tests: Add basic markdown rendering test --- archetypes/default.md | 2 + .../posts/tests/markdown-tests/index.en.md | 158 ++++++++++++++++++ 2 files changed, 160 insertions(+) create mode 100644 exampleSite/content/posts/tests/markdown-tests/index.en.md diff --git a/archetypes/default.md b/archetypes/default.md index 3fa8440c5..eea7d34f6 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -26,3 +26,5 @@ license: "" --- + +TODO \ No newline at end of file diff --git a/exampleSite/content/posts/tests/markdown-tests/index.en.md b/exampleSite/content/posts/tests/markdown-tests/index.en.md new file mode 100644 index 000000000..5f41500d1 --- /dev/null +++ b/exampleSite/content/posts/tests/markdown-tests/index.en.md @@ -0,0 +1,158 @@ +--- +title: "Markdown Tests" +subtitle: "" +date: 2021-04-16T12:27:57+01:00 +lastmod: 2021-04-16T12:27:57+01:00 +draft: false +author: "PCloud" +authorLink: "https://github.com/HEIGE-PCloud" +description: "Test basic markdown rendering" +categories: [Tests] +--- + + +## Headers + +### heading 3 + +Under heading 3 + +#### heading 4 + +Under heading 4 + +##### heading 5 + +Under heading 5 + +###### heading 6 + +Under heading 6 + +## Comment + + + +## Horizontal Rules + +--- + +___ + +*** + +## Body Copy + +```markdown +Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus. Et legere ocurreret pri, +animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, +soluta officiis concludaturque ei qui, vide sensibus vim ad. +``` +## Inline HTML + +
+ This is HTML +
+ + +## Emphasis + +*This text will be italic* + +_This will also be italic_ + +**This text will be bold** + +__This will also be bold__ + +~~Strike through this text.~~ + +_You **can** combine them_ + +***bold and italics*** + +~~**strikethrough and bold**~~ + +~~*strikethrough and italics*~~ + +~~***bold, italics and strikethrough***~~ + +## Blockquotes + +> Donec massa lacus, ultricies a ullamcorper in, fermentum sed augue. +Nunc augue augue, aliquam non hendrerit ac, commodo vel nisi. +>> Sed adipiscing elit vitae augue consectetur a gravida nunc vehicula. Donec auctor +odio non est accumsan facilisis. Aliquam id turpis in dolor tincidunt mollis ac eu diam. + + +## Lists + +* Item 1 +* Item 2 + * Item 2a + * Item 2b + +1. Item 1 +1. Item 2 +1. Item 3 + 1. Item 3a + 1. Item 3b + +- [x] Task 1 +- [ ] Task 2 +- [ ] Task 3 + +## Code + +`Inline Code` + + // Some comments + line 1 of code + line 2 of code + line 3 of code + + +```cpp +#include +int main() +{ + std::cout << "Hello world!" << endl; + return 0; +} +``` + +## Tables + +| Option | Description | +|:------:| -----------:| +| data | path to data files to supply the data that will be passed into templates. | +| engine | engine to be used for processing templates. Handlebars is the default. | +| ext | extension to be used for dest files. | + +## Links + + + + + +[Assemble](https://assemble.io) + +[Upstage](https://github.com/upstage/ "Visit Upstage!") + +* [Chapter 1](#headers) +* [Chapter 2](#comment) +* [Chapter 3](#horizontal-rules) + +## Footnotes + +This is a digital footnote[^1]. +This is a footnote with "label"[^label] + +[^1]: This is a digital footnote +[^label]: This is a footnote with "label" + +## Images + +![Minion](https://octodex.github.com/images/minion.png) + +![Alt text](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat") From 4f6adaab472bce0da87cbeda6034ac0c1658333d Mon Sep 17 00:00:00 2001 From: HEIGE-PCloud Date: Fri, 16 Apr 2021 14:20:38 +0100 Subject: [PATCH 02/11] tests: Add built-in shortcodes tests --- .../built-in-shortcodes-tests/index.en.md | 75 +++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 exampleSite/content/posts/tests/built-in-shortcodes-tests/index.en.md diff --git a/exampleSite/content/posts/tests/built-in-shortcodes-tests/index.en.md b/exampleSite/content/posts/tests/built-in-shortcodes-tests/index.en.md new file mode 100644 index 000000000..6f84c3873 --- /dev/null +++ b/exampleSite/content/posts/tests/built-in-shortcodes-tests/index.en.md @@ -0,0 +1,75 @@ +--- +title: "Built-in Shortcodes Tests" +subtitle: "" +date: 2021-04-16T14:08:05+01:00 +lastmod: 2021-04-16T14:08:05+01:00 +draft: false +author: "PCloud" +authorLink: "https://github.com/HEIGE-PCloud" +description: "Built-in Shortcodes Tests" + +tags: [] +categories: [Tests] + +hiddenFromHomePage: false +hiddenFromSearch: false + +featuredImage: "" +featuredImagePreview: "" + +toc: + enable: true +math: + enable: false +lightgallery: false +license: "" +--- + + + +## figure + +{{< figure src="https://octodex.github.com/images/minion.png" title="octodex" >}} + +## gist + +{{< gist spf13 7896402 >}} + +## highlight + +{{< highlight html >}} +
+
+

{{ .Title }}

+ {{ range .Pages }} + {{ .Render "summary"}} + {{ end }} +
+
+{{< /highlight >}} + +## instagram + +TODO: fix + +## param + +{{< param description >}} + +## ref and relref + +[ref]({{< ref "about/index.en.md" >}}) + +[relref]({{< relref "../../../about/index.en.md" >}}) + +## tweet + +{{< tweet 877500564405444608 >}} + +## vimeo + +{{< vimeo 146022717 >}} + +## youtube + +{{< youtube w7Ft2ymGmfc >}} From 2d365e84acc20d1f7d5a6464610d28420574cec9 Mon Sep 17 00:00:00 2001 From: HEIGE-PCloud Date: Fri, 16 Apr 2021 14:28:54 +0100 Subject: [PATCH 03/11] chore: rename builtin shortcode source file --- .../index.en.md | 14 -------------- 1 file changed, 14 deletions(-) rename exampleSite/content/posts/tests/{built-in-shortcodes-tests => builtin-shortcodes-tests}/index.en.md (87%) diff --git a/exampleSite/content/posts/tests/built-in-shortcodes-tests/index.en.md b/exampleSite/content/posts/tests/builtin-shortcodes-tests/index.en.md similarity index 87% rename from exampleSite/content/posts/tests/built-in-shortcodes-tests/index.en.md rename to exampleSite/content/posts/tests/builtin-shortcodes-tests/index.en.md index 6f84c3873..896e02f76 100644 --- a/exampleSite/content/posts/tests/built-in-shortcodes-tests/index.en.md +++ b/exampleSite/content/posts/tests/builtin-shortcodes-tests/index.en.md @@ -1,28 +1,14 @@ --- title: "Built-in Shortcodes Tests" -subtitle: "" date: 2021-04-16T14:08:05+01:00 lastmod: 2021-04-16T14:08:05+01:00 draft: false author: "PCloud" authorLink: "https://github.com/HEIGE-PCloud" description: "Built-in Shortcodes Tests" - -tags: [] categories: [Tests] - hiddenFromHomePage: false hiddenFromSearch: false - -featuredImage: "" -featuredImagePreview: "" - -toc: - enable: true -math: - enable: false -lightgallery: false -license: "" --- From ec449c549cb1ccf7928176993e28f4077816666c Mon Sep 17 00:00:00 2001 From: HEIGE-PCloud Date: Fri, 16 Apr 2021 14:29:10 +0100 Subject: [PATCH 04/11] tests: Add extend shortcodes tests --- .../tests/extend-shortcodes-tests/index.en.md | 91 +++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 exampleSite/content/posts/tests/extend-shortcodes-tests/index.en.md diff --git a/exampleSite/content/posts/tests/extend-shortcodes-tests/index.en.md b/exampleSite/content/posts/tests/extend-shortcodes-tests/index.en.md new file mode 100644 index 000000000..e2cac78d5 --- /dev/null +++ b/exampleSite/content/posts/tests/extend-shortcodes-tests/index.en.md @@ -0,0 +1,91 @@ +--- +title: "Extend Shortcodes Tests" +date: 2021-04-16T14:21:36+01:00 +lastmod: 2021-04-16T14:21:36+01:00 +draft: false +author: "PCloud" +authorLink: "https://github.com/HEIGE-PCloud" +description: "Extend Shortcodes Tests" +categories: [Tests] +lightgallery: true +--- + + + +## style + +{{< style "text-align:right; strong{color:#00b1ff;}" >}} +This is a **right-aligned** paragraph. +{{< /style >}} + +## link + +{{< link "https://github.com/upstage/" Upstage "Visit Upstage!" >}} + +## image + +{{< image src="/images/lighthouse.jpg" caption="Lighthouse (`image`)" src_s="/images/lighthouse-small.jpg" src_l="/images/lighthouse-large.jpg" >}} + +## admonition + +{{< admonition >}} +A **note** banner +{{< /admonition >}} + +{{< admonition abstract >}} +An **abstract** banner +{{< /admonition >}} + +{{< admonition info >}} +A **info** banner +{{< /admonition >}} + +{{< admonition tip >}} +A **tip** banner +{{< /admonition >}} + +{{< admonition success >}} +A **success** banner +{{< /admonition >}} + +{{< admonition question >}} +A **question** banner +{{< /admonition >}} + +{{< admonition warning >}} +A **warning** banner +{{< /admonition >}} + +{{< admonition failure >}} +A **failure** banner +{{< /admonition >}} + +{{< admonition danger >}} +A **danger** banner +{{< /admonition >}} + +{{< admonition bug >}} +A **bug** banner +{{< /admonition >}} + +{{< admonition example >}} +An **example** banner +{{< /admonition >}} + +{{< admonition quote >}} +A **quote** banner +{{< /admonition >}} + +{{< admonition type=tip title="open=false" open=false >}} +open=false +{{< /admonition >}} + +{{< admonition tip "open=true" true >}} +open=true +{{< /admonition >}} + +## script + +{{< script >}} +console.log('Hello!'); +{{< /script >}} From 1ee1f00c863a3f191e1fedb4047c5080ddcad1f2 Mon Sep 17 00:00:00 2001 From: HEIGE-PCloud Date: Fri, 16 Apr 2021 14:31:50 +0100 Subject: [PATCH 05/11] tests: Add Typeit tests --- .../posts/tests/typeit-tests/index.en.md | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 exampleSite/content/posts/tests/typeit-tests/index.en.md diff --git a/exampleSite/content/posts/tests/typeit-tests/index.en.md b/exampleSite/content/posts/tests/typeit-tests/index.en.md new file mode 100644 index 000000000..e3b2ad1e0 --- /dev/null +++ b/exampleSite/content/posts/tests/typeit-tests/index.en.md @@ -0,0 +1,32 @@ +--- +title: "Typeit Tests" +date: 2021-04-16T14:29:46+01:00 +lastmod: 2021-04-16T14:29:46+01:00 +draft: false +author: "PCloud" +authorLink: "https://github.com/HEIGE-PCloud" +description: "Typeit Tests" +categories: [Tests] +--- + + + +{{< typeit >}} +This is a *paragraph* with **typing animation** based on [TypeIt](https://typeitjs.com/)... +{{< /typeit >}} + +{{< typeit code=java >}} +public class HelloWorld { + public static void main(String []args) { + System.out.println("Hello World"); + } +} +{{< /typeit >}} + +{{< typeit group=paragraph >}} +**First** this paragraph begins +{{< /typeit >}} + +{{< typeit group=paragraph >}} +**Then** this paragraph begins +{{< /typeit >}} From 7f481c211ece3d38ca74e0a2e9bca63aa084d543 Mon Sep 17 00:00:00 2001 From: HEIGE-PCloud Date: Fri, 16 Apr 2021 14:37:22 +0100 Subject: [PATCH 06/11] tests: Add Bilibili player tests --- .../posts/tests/bilibili-tests/index.en.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 exampleSite/content/posts/tests/bilibili-tests/index.en.md diff --git a/exampleSite/content/posts/tests/bilibili-tests/index.en.md b/exampleSite/content/posts/tests/bilibili-tests/index.en.md new file mode 100644 index 000000000..fcadc535a --- /dev/null +++ b/exampleSite/content/posts/tests/bilibili-tests/index.en.md @@ -0,0 +1,16 @@ +--- +title: "Bilibili Tests" +date: 2021-04-16T14:32:18+01:00 +lastmod: 2021-04-16T14:32:18+01:00 +draft: false +author: "PCloud" +authorLink: "https://github.com/HEIGE-PCloud" +description: "Bilibili Tests" +categories: [Tests] +--- + + + +{{< bilibili BV1Sx411T7QQ >}} + +{{< bilibili id=BV1TJ411C7An p=3 >}} From bca38984d67a84e31508783f479a386e6d83a1c4 Mon Sep 17 00:00:00 2001 From: HEIGE-PCloud Date: Fri, 16 Apr 2021 14:41:29 +0100 Subject: [PATCH 07/11] tests: Add Mermaid tests --- .../posts/tests/mermaid-tests/index.en.md | 101 ++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 exampleSite/content/posts/tests/mermaid-tests/index.en.md diff --git a/exampleSite/content/posts/tests/mermaid-tests/index.en.md b/exampleSite/content/posts/tests/mermaid-tests/index.en.md new file mode 100644 index 000000000..b4232dbad --- /dev/null +++ b/exampleSite/content/posts/tests/mermaid-tests/index.en.md @@ -0,0 +1,101 @@ +--- +title: "Mermaid Tests" +date: 2021-04-16T14:37:26+01:00 +lastmod: 2021-04-16T14:37:26+01:00 +draft: false +author: "PCloud" +authorLink: "https://github.com/HEIGE-PClod" +description: "Mermaid Tests" +categories: [Tests] +--- + + +{{< mermaid >}} +graph TD; + A-->B; + A-->C; + B-->D; + C-->D; +{{< /mermaid >}} + +{{< mermaid >}} +sequenceDiagram + participant Alice + participant Bob + Alice->>John: Hello John, how are you? + loop Healthcheck + John->>John: Fight against hypochondria + end + Note right of John: Rational thoughts
prevail! + John-->>Alice: Great! + John->>Bob: How about you? + Bob-->>John: Jolly good! +{{< /mermaid >}} + +{{< mermaid >}} +gantt +dateFormat YYYY-MM-DD +title Adding GANTT diagram to mermaid +excludes weekdays 2014-01-10 + +section A section +Completed task :done, des1, 2014-01-06,2014-01-08 +Active task :active, des2, 2014-01-09, 3d +Future task : des3, after des2, 5d +Future task2 : des4, after des3, 5d +{{< /mermaid >}} + +{{< mermaid >}} +classDiagram +Class01 <|-- AveryLongClass : Cool +Class03 *-- Class04 +Class05 o-- Class06 +Class07 .. Class08 +Class09 --> C2 : Where am i? +Class09 --* C3 +Class09 --|> Class07 +Class07 : equals() +Class07 : Object[] elementData +Class01 : size() +Class01 : int chimp +Class01 : int gorilla +Class08 <--> C2: Cool label +{{< /mermaid >}} + +{{< mermaid >}} +gitGraph: +options +{ + "nodeSpacing": 150, + "nodeRadius": 10 +} +end +commit +branch newbranch +checkout newbranch +commit +commit +checkout master +commit +commit +merge newbranch +{{< /mermaid >}} + +{{< mermaid >}} +erDiagram + CUSTOMER ||--o{ ORDER : places + ORDER ||--|{ LINE-ITEM : contains + CUSTOMER }|..|{ DELIVERY-ADDRESS : uses +{{< /mermaid >}} + +{{< mermaid >}} +journey + title My working day + section Go to work + Make tea: 5: Me + Go upstairs: 3: Me + Do work: 1: Me, Cat + section Go home + Go downstairs: 5: Me + Sit down: 5: Me +{{< /mermaid >}} From d71391219a4646ccc3d399737026556332f0b299 Mon Sep 17 00:00:00 2001 From: HEIGE-PCloud Date: Fri, 16 Apr 2021 14:45:23 +0100 Subject: [PATCH 08/11] tests: Add echarts tests --- .../posts/tests/echarts-tests/index.en.md | 297 ++++++++++++++++++ 1 file changed, 297 insertions(+) create mode 100644 exampleSite/content/posts/tests/echarts-tests/index.en.md diff --git a/exampleSite/content/posts/tests/echarts-tests/index.en.md b/exampleSite/content/posts/tests/echarts-tests/index.en.md new file mode 100644 index 000000000..970f6a77c --- /dev/null +++ b/exampleSite/content/posts/tests/echarts-tests/index.en.md @@ -0,0 +1,297 @@ +--- +title: "Echarts Tests" +date: 2021-04-16T14:41:49+01:00 +lastmod: 2021-04-16T14:41:49+01:00 +draft: false +author: "PCloud" +authorLink: "https://github.com/HEIGE-PCloud" +description: "Echarts Tests" +categories: [Tests] +--- + + + +{{< echarts >}} +{ + "title": { + "text": "Summary Line Chart", + "top": "2%", + "left": "center" + }, + "tooltip": { + "trigger": "axis" + }, + "legend": { + "data": ["Email Marketing", "Affiliate Advertising", "Video Advertising", "Direct View", "Search Engine"], + "top": "10%" + }, + "grid": { + "left": "5%", + "right": "5%", + "bottom": "5%", + "top": "20%", + "containLabel": true + }, + "toolbox": { + "feature": { + "saveAsImage": { + "title": "Save as Image" + } + } + }, + "xAxis": { + "type": "category", + "boundaryGap": false, + "data": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"] + }, + "yAxis": { + "type": "value" + }, + "series": [ + { + "name": "Email Marketing", + "type": "line", + "stack": "Total", + "data": [120, 132, 101, 134, 90, 230, 210] + }, + { + "name": "Affiliate Advertising", + "type": "line", + "stack": "Total", + "data": [220, 182, 191, 234, 290, 330, 310] + }, + { + "name": "Video Advertising", + "type": "line", + "stack": "Total", + "data": [150, 232, 201, 154, 190, 330, 410] + }, + { + "name": "Direct View", + "type": "line", + "stack": "Total", + "data": [320, 332, 301, 334, 390, 330, 320] + }, + { + "name": "Search Engine", + "type": "line", + "stack": "Total", + "data": [820, 932, 901, 934, 1290, 1330, 1320] + } + ] +} +{{< /echarts >}} + +{{< echarts >}} +title: + text: Summary Line Chart + top: 2% + left: center +tooltip: + trigger: axis +legend: + data: + - Email Marketing + - Affiliate Advertising + - Video Advertising + - Direct View + - Search Engine + top: 10% +grid: + left: 5% + right: 5% + bottom: 5% + top: 20% + containLabel: true +toolbox: + feature: + saveAsImage: + title: Save as Image +xAxis: + type: category + boundaryGap: false + data: + - Monday + - Tuesday + - Wednesday + - Thursday + - Friday + - Saturday + - Sunday +yAxis: + type: value +series: + - name: Email Marketing + type: line + stack: Total + data: + - 120 + - 132 + - 101 + - 134 + - 90 + - 230 + - 210 + - name: Affiliate Advertising + type: line + stack: Total + data: + - 220 + - 182 + - 191 + - 234 + - 290 + - 330 + - 310 + - name: Video Advertising + type: line + stack: Total + data: + - 150 + - 232 + - 201 + - 154 + - 190 + - 330 + - 410 + - name: Direct View + type: line + stack: Total + data: + - 320 + - 332 + - 301 + - 334 + - 390 + - 330 + - 320 + - name: Search Engine + type: line + stack: Total + data: + - 820 + - 932 + - 901 + - 934 + - 1290 + - 1330 + - 1320 +{{< /echarts >}} + +{{< echarts >}} +[title] +text = "Summary Line Chart" +top = "2%" +left = "center" + +[tooltip] +trigger = "axis" + +[legend] +data = [ + "Email Marketing", + "Affiliate Advertising", + "Video Advertising", + "Direct View", + "Search Engine" +] +top = "10%" + +[grid] +left = "5%" +right = "5%" +bottom = "5%" +top = "20%" +containLabel = true + +[toolbox] +[toolbox.feature] +[toolbox.feature.saveAsImage] +title = "Save as Image" + +[xAxis] +type = "category" +boundaryGap = false +data = [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" +] + +[yAxis] +type = "value" + +[[series]] +name = "Email Marketing" +type = "line" +stack = "Total" +data = [ + 120.0, + 132.0, + 101.0, + 134.0, + 90.0, + 230.0, + 210.0 +] + +[[series]] +name = "Affiliate Advertising" +type = "line" +stack = "Total" +data = [ + 220.0, + 182.0, + 191.0, + 234.0, + 290.0, + 330.0, + 310.0 +] + +[[series]] +name = "Video Advertising" +type = "line" +stack = "Total" +data = [ + 150.0, + 232.0, + 201.0, + 154.0, + 190.0, + 330.0, + 410.0 +] + +[[series]] +name = "Direct View" +type = "line" +stack = "Total" +data = [ + 320.0, + 332.0, + 301.0, + 334.0, + 390.0, + 330.0, + 320.0 +] + +[[series]] +name = "Search Engine" +type = "line" +stack = "Total" +data = [ + 820.0, + 932.0, + 901.0, + 934.0, + 1290.0, + 1330.0, + 1320.0 +] +{{< /echarts >}} From 88419aa1437eb41999ab38cb61a1fe06d405be87 Mon Sep 17 00:00:00 2001 From: HEIGE-PCloud Date: Fri, 16 Apr 2021 14:47:43 +0100 Subject: [PATCH 09/11] tests: Add mapbox tests --- .../content/posts/tests/mapbox-tests/index.en.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 exampleSite/content/posts/tests/mapbox-tests/index.en.md diff --git a/exampleSite/content/posts/tests/mapbox-tests/index.en.md b/exampleSite/content/posts/tests/mapbox-tests/index.en.md new file mode 100644 index 000000000..aea5eacd5 --- /dev/null +++ b/exampleSite/content/posts/tests/mapbox-tests/index.en.md @@ -0,0 +1,15 @@ +--- +title: "Mapbox Tests" +date: 2021-04-16T14:45:40+01:00 +lastmod: 2021-04-16T14:45:40+01:00 +draft: false +author: "PCloud" +authorLink: "https://github.com/HEIGE-PCloud" +description: "Mapbox Tests" +categories: [Tests] +--- + + +{{< mapbox lng=121.485 lat=31.233 zoom=12 >}} + +{{< mapbox -122.252 37.453 10 false "mapbox://styles/mapbox/navigation-preview-day-v4" "mapbox://styles/mapbox/navigation-preview-night-v4" >}} From c2304597c19ae53f112bb837215430cb3ff62e8f Mon Sep 17 00:00:00 2001 From: HEIGE-PCloud Date: Fri, 16 Apr 2021 14:52:16 +0100 Subject: [PATCH 10/11] tests: Add music tests --- .../posts/tests/music-tests/index.en.md | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 exampleSite/content/posts/tests/music-tests/index.en.md diff --git a/exampleSite/content/posts/tests/music-tests/index.en.md b/exampleSite/content/posts/tests/music-tests/index.en.md new file mode 100644 index 000000000..73266d65f --- /dev/null +++ b/exampleSite/content/posts/tests/music-tests/index.en.md @@ -0,0 +1,22 @@ +--- +title: "Music Tests" +date: 2021-04-16T14:47:54+01:00 +lastmod: 2021-04-16T14:47:54+01:00 +draft: false +author: "PCloud" +authorLink: "https://github.com/HEIGE-PCloud" +description: "Music Tests" +categories: [Tests] +--- + + + +{{< music url="/music/Wavelength.mp3" name=Wavelength artist=oldmanyoung cover="/images/Wavelength.jpg" >}} + +--- + +{{< music auto="https://music.163.com/#/playlist?id=60198" >}} + +--- + +{{< music server="netease" type="song" id="1868553" >}} \ No newline at end of file From 2cdb438b2bf2913394b8bd7c8f6557ec4367f559 Mon Sep 17 00:00:00 2001 From: HEIGE-PCloud Date: Sat, 17 Apr 2021 21:14:09 +0100 Subject: [PATCH 11/11] tests: KaTeX --- .../posts/tests/katex-tests/index.en.md | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 exampleSite/content/posts/tests/katex-tests/index.en.md diff --git a/exampleSite/content/posts/tests/katex-tests/index.en.md b/exampleSite/content/posts/tests/katex-tests/index.en.md new file mode 100644 index 000000000..9b1163490 --- /dev/null +++ b/exampleSite/content/posts/tests/katex-tests/index.en.md @@ -0,0 +1,34 @@ +--- +title: "KaTeX Tests" +date: 2021-04-16T14:53:03+01:00 +lastmod: 2021-04-16T14:53:03+01:00 +draft: false +author: "PCloud" +authorLink: "https://github.com/HEIGE-PCloud" +description: "KaTeX Tests" +categories: [Tests] +math: + enable: true +--- + + + +$$ +\def\arraystretch{1.5} +\begin{array}{c:c:c} + a & b & c \\\\ \hline + d & e & f \\\\ + \hdashline + g & h & i +\end{array} +$$ + +$$ +\sum_{ +\begin{subarray}{l} + i\in\Lambda\\ + 0