From 41d1c57dbab6c568b4d5dd99ee94c7e057ada485 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 15 Apr 2020 23:08:51 +0000 Subject: [PATCH] --- devdocs/specs/core-wiki.txt | 18 ++++++++++-- server/AyaNova/util/Seeder.cs | 53 +++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+), 2 deletions(-) diff --git a/devdocs/specs/core-wiki.txt b/devdocs/specs/core-wiki.txt index 1a9f711d..077b690c 100644 --- a/devdocs/specs/core-wiki.txt +++ b/devdocs/specs/core-wiki.txt @@ -14,7 +14,7 @@ Headings ##### Heading 5th level ###### Heading 6th level -Alternate text styles +Emphasis text styles *Italic* **Bold** @@ -24,7 +24,7 @@ Hyperlink Image ![Image](https://www.ayanova.com/images/AyaNova60x60.png) -Block quotes +Quote block > Blockquote > more block quote @@ -38,9 +38,23 @@ Ordered list 2. Two 3. Three +Nested lists +* First + * subitem One + * subitem Two +* Second + 1. sub one + 2. sub two Horizontal rule --- +`Inline block` with backticks + +``` +# Multi-line block +print '3 backticks or' +print 'indent 4 spaces' +``` =-=-=-=-= diff --git a/server/AyaNova/util/Seeder.cs b/server/AyaNova/util/Seeder.cs index 793585ee..6cce5c07 100644 --- a/server/AyaNova/util/Seeder.cs +++ b/server/AyaNova/util/Seeder.cs @@ -673,6 +673,59 @@ namespace AyaNova.Util o.UserType = randomUserType; o.Notes = f.Lorem.Sentence(); + o.WikiContent=@" +## Example Markdown commands for Wiki pages + +Headings +# Heading 1st level +## Heading 2nd level +### Heading 3rd level +#### Heading 4th level +##### Heading 5th level +###### Heading 6th level + +Emphasis text styles +*Italic* +**Bold** + +Hyperlink +[Link](https://ayanova.com) + +Image +![Image](https://www.ayanova.com/images/AyaNova60x60.png) + +Quote block +> Blockquote +> more block quote + +Unordered list +* List +* List +* List + +Ordered list +1. One +2. Two +3. Three + +Nested lists +* First + * subitem One + * subitem Two +* Second + 1. sub one + 2. sub two + +Horizontal rule +--- + +`Inline block` with backticks + +``` +# Multi-line block +print '3 backticks or' +print 'indent 4 spaces' +``` "; o.Tags = RandomTags(f); o.UserId = f.Random.Int(1, SeededUserCount);