This commit is contained in:
@@ -674,53 +674,60 @@ namespace AyaNova.Util
|
|||||||
|
|
||||||
o.Notes = f.Lorem.Sentence();
|
o.Notes = f.Lorem.Sentence();
|
||||||
o.Wiki=@"
|
o.Wiki=@"
|
||||||
## Example Markdown for Wiki pages
|
|
||||||
|
|
||||||
Headings
|
# Markdown quick reference for Wiki pages
|
||||||
|
***
|
||||||
|
***
|
||||||
|
<br>
|
||||||
|
|
||||||
|
## Markdown and Wiki documents
|
||||||
|
Wiki's are formatted using **[Markdown](https://en.wikipedia.org/wiki/Markdown)** a plain text formatting language.
|
||||||
|
This document is a quick reference guide and at the bottom is a link to a more comprehensive guide online.
|
||||||
|
You can also use the formatting toolbar above to perform the same tasks.
|
||||||
|
|
||||||
|
|
||||||
|
# Headings
|
||||||
# Heading 1st level
|
# Heading 1st level
|
||||||
## Heading 2nd level
|
## Heading 2nd level
|
||||||
### Heading 3rd level
|
### Heading 3rd level
|
||||||
#### Heading 4th level
|
#### Heading 4th level
|
||||||
##### Heading 5th level
|
##### Heading 5th level
|
||||||
###### Heading 6th level
|
###### Heading 6th level
|
||||||
|
***
|
||||||
Emphasis text styles
|
# Emphasis text styles
|
||||||
*Italic*
|
*Italic*
|
||||||
**Bold**
|
**Bold**
|
||||||
|
~~Strike-through~~
|
||||||
|
***Bold And Italic***
|
||||||
|
|
||||||
Hyperlink
|
|
||||||
[Link](https://ayanova.com)
|
|
||||||
|
|
||||||
Image
|
# Quote blocks
|
||||||

|
|
||||||
|
|
||||||
Quote block
|
|
||||||
> ""Morbi eget dapibus felis. Vivamus venenatis porttitor tortor sit amet rutrum.
|
> ""Morbi eget dapibus felis. Vivamus venenatis porttitor tortor sit amet rutrum.
|
||||||
Pellentesque aliquet quam enim, eu volutpat urna rutrum a. Nam vehicula nunc
|
Pellentesque aliquet quam enim, eu volutpat urna rutrum a. Nam vehicula nunc
|
||||||
mauris, a ultricies libero efficitur sed. *Class aptent* taciti sociosqu ad
|
>
|
||||||
|
> mauris, a ultricies libero efficitur sed. *Class aptent* taciti sociosqu ad
|
||||||
litora torquent per conubia nostra, per inceptos himenaeos. Sed molestie
|
litora torquent per conubia nostra, per inceptos himenaeos. Sed molestie
|
||||||
imperdiet consectetur.""
|
imperdiet consectetur.""
|
||||||
|
|
||||||
|
|
||||||
> The overriding design goal for Markdown's
|
# Lists
|
||||||
> formatting syntax is to make it as readable
|
### Unordered list
|
||||||
> as possible. The idea is that a
|
|
||||||
> Markdown-formatted document should be
|
|
||||||
> publishable as-is, as plain text, without
|
|
||||||
> looking like it's been marked up with tags
|
|
||||||
>> or formatting instructions.
|
|
||||||
|
|
||||||
Unordered list
|
|
||||||
* List
|
* List
|
||||||
* List
|
* List
|
||||||
* List
|
* List
|
||||||
|
|
||||||
Ordered list
|
### Ordered list
|
||||||
1. One
|
1. One
|
||||||
2. Two
|
2. Two
|
||||||
3. Three
|
3. Three
|
||||||
|
|
||||||
Nested lists
|
### Auto number ordered list
|
||||||
|
Ordered lists don't need the numbers to be in order, just that they start with 1:
|
||||||
|
1. Item
|
||||||
|
1. another item
|
||||||
|
1. more item
|
||||||
|
|
||||||
|
### Nested lists
|
||||||
* First
|
* First
|
||||||
* subitem One
|
* subitem One
|
||||||
* subitem Two
|
* subitem Two
|
||||||
@@ -728,200 +735,68 @@ Nested lists
|
|||||||
1. sub one
|
1. sub one
|
||||||
2. sub two
|
2. sub two
|
||||||
|
|
||||||
Horizontal rule
|
# Blank lines
|
||||||
---
|
You can force extra blank lines by entering `<br>` here are two blank ...
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
...lines.
|
||||||
|
|
||||||
|
# Horizontal rules
|
||||||
|
### Basic
|
||||||
|
***
|
||||||
|
### Thick
|
||||||
|
***
|
||||||
|
***
|
||||||
|
***
|
||||||
|
***
|
||||||
|
# Blocks
|
||||||
`Inline block` with backticks
|
`Inline block` with backticks
|
||||||
|
|
||||||
```
|
```
|
||||||
# Multi-line block
|
Multi-line block
|
||||||
print '3 backticks or'
|
print '3 backticks or'
|
||||||
print 'indent 4 spaces'
|
print 'indent 4 spaces'
|
||||||
```
|
```
|
||||||
|
|
||||||
Add Tasks
|
# Task lists
|
||||||
|
|
||||||
- [ ] task one
|
- [ ] task one
|
||||||
- [x] task two (completed)
|
- [x] task two (completed)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
TABLES
|
# TABLES
|
||||||
|
|
||||||
| Column 1 | Column 2 | Column 3 |
|
| Column 1 | Column 2 | Column 3 |
|
||||||
| -------- | -------- | -------- |
|
| -------- | -------- | -------- |
|
||||||
| John | Doe | Male |
|
| John | Doe | Male |
|
||||||
| Mary | Smith | Female |
|
| Mary | Smith | Female |
|
||||||
|
|
||||||
|
# Hyperlinks
|
||||||
|
Inline text link and and optional tooltip:
|
||||||
|
Link to [our website](https://ayanova.com ""Hover text tooltip"") example
|
||||||
|
|
||||||
|
If you don't need an inline link you can simply enter it in angle brackets:
|
||||||
|
<https://ayanova.com>
|
||||||
|
Even email links work:
|
||||||
|
<support@ayanova.com>
|
||||||
|
<br>
|
||||||
|
You can also use emphasis characters with links:
|
||||||
|
Link to **[our website](https://ayanova.com)** example
|
||||||
|
|
||||||
|
# Image
|
||||||
|
This is how you insert an image into a wiki
|
||||||
|

|
||||||
|
|
||||||
Markdown Quick Reference
|
# Markdown guide
|
||||||
========================
|
A more detailed markdown guide is available here:
|
||||||
|
<https://www.markdownguide.org/>
|
||||||
This guide is a very brief overview, with examples, of the syntax that [Markdown] supports. It is itself written in Markdown and you can copy the samples over to the left-hand pane for experimentation. It's shown as *text* and not *rendered HTML*.
|
|
||||||
|
|
||||||
[Markdown]: http://daringfireball.net/projects/markdown/
|
|
||||||
|
|
||||||
|
|
||||||
Simple Text Formatting
|
|
||||||
======================
|
|
||||||
|
|
||||||
First thing is first. You can use *stars* or _underscores_ for italics. **Double stars** and __double underscores__ do bold. ***Three together*** do ___both___.
|
|
||||||
|
|
||||||
Paragraphs are pretty easy too. Just have a blank line between chunks of text.
|
|
||||||
|
|
||||||
> This chunk of text is in a block quote. Its multiple lines will all be
|
|
||||||
> indended a bit from the rest of the text.
|
|
||||||
>
|
|
||||||
> > Multiple levels of block quotes also work.
|
|
||||||
|
|
||||||
Sometimes you want to include some code, such as when you are explaining how `<h1>` HTML tags work, or maybe you are a programmer and you are discussing `someMethod()`.
|
|
||||||
|
|
||||||
If you want to include some code and have
|
|
||||||
newlines preserved, indent the line with a tab
|
|
||||||
or at least four spaces.
|
|
||||||
Extra spaces work here too.
|
|
||||||
This is also called preformatted text and it is useful for showing examples.
|
|
||||||
The text will stay as text, so any *markdown* or <u>HTML</u> you add will
|
|
||||||
not show up formatted. This way you can show markdown examples in a
|
|
||||||
markdown document.
|
|
||||||
|
|
||||||
> You can also use preformatted text with your blockquotes
|
|
||||||
> as long as you add at least five spaces.
|
|
||||||
|
|
||||||
|
|
||||||
Headings
|
|
||||||
========
|
|
||||||
|
|
||||||
There are a couple of ways to make headings. Using three or more equals signs on a line under a heading makes it into an ""h1"" style. Three or more hyphens under a line makes it \""h2\"" (slightly smaller). You can also use multiple pound symbols before and after a heading. Pounds after the title are ignored. Here's some examples:
|
|
||||||
|
|
||||||
This is H1
|
|
||||||
==========
|
|
||||||
|
|
||||||
This is H2
|
|
||||||
----------
|
|
||||||
|
|
||||||
# This is H1
|
|
||||||
## This is H2
|
|
||||||
### This is H3 with some extra pounds ###
|
|
||||||
#### You get the idea ####
|
|
||||||
##### I don't need extra pounds at the end
|
|
||||||
###### H6 is the max
|
|
||||||
|
|
||||||
|
|
||||||
Links
|
|
||||||
=====
|
|
||||||
|
|
||||||
Let's link to a few sites. First, let's use the bare URL, like <http://www.github.com>. Great for text, but ugly for HTML.
|
|
||||||
Next is an inline link to [Google](http://www.google.com). A little nicer.
|
|
||||||
This is a reference-style link to [Wikipedia] [1].
|
|
||||||
Lastly, here's a pretty link to [Yahoo]. The reference-style and pretty links both automatically use the links defined below, but they could be defined *anywhere* in the markdown and are removed from the HTML. The names are also case insensitive, so you can use [YaHoO] and have it link properly.
|
|
||||||
|
|
||||||
[1]: http://www.wikipedia.org/
|
|
||||||
[Yahoo]: http://www.yahoo.com/
|
|
||||||
|
|
||||||
Title attributes may be added to links by adding text after a link.
|
|
||||||
This is the [inline link](http://www.bing.com \""Bing\"") with a \""Bing\"" title.
|
|
||||||
You can also go to [W3C] [2] and maybe visit a [friend].
|
|
||||||
|
|
||||||
[2]: http://w3c.org (The W3C puts out specs for web-based things)
|
|
||||||
[Friend]: http://facebook.com/ \""Facebook!\""
|
|
||||||
|
|
||||||
Email addresses in plain text are not linked: test@example.com.
|
|
||||||
Email addresses wrapped in angle brackets are linked: <test@example.com>.
|
|
||||||
They are also obfuscated so that email harvesting spam robots hopefully won't get them.
|
|
||||||
|
|
||||||
|
|
||||||
Lists
|
|
||||||
=====
|
|
||||||
|
|
||||||
* This is a bulleted list
|
|
||||||
* Great for shopping lists
|
|
||||||
- You can also use hyphens
|
|
||||||
+ Or plus symbols
|
|
||||||
|
|
||||||
The above is an \""unordered\"" list. Now, on for a bit of order.
|
|
||||||
|
|
||||||
1. Numbered lists are also easy
|
|
||||||
2. Just start with a number
|
|
||||||
3738762. However, the actual number doesn't matter when converted to HTML.
|
|
||||||
1. This will still show up as 4.
|
|
||||||
|
|
||||||
You might want a few advanced lists:
|
|
||||||
|
|
||||||
- This top-level list is wrapped in paragraph tags
|
|
||||||
- This generates an extra space between each top-level item.
|
|
||||||
|
|
||||||
- You do it by adding a blank line
|
|
||||||
|
|
||||||
- This nested list also has blank lines between the list items.
|
|
||||||
|
|
||||||
- How to create nested lists
|
|
||||||
1. Start your regular list
|
|
||||||
2. Indent nested lists with four spaces
|
|
||||||
3. Further nesting means you should indent with four more spaces
|
|
||||||
* This line is indented with eight spaces.
|
|
||||||
|
|
||||||
- List items can be quite lengthy. You can keep typing and either continue
|
|
||||||
them on the next line with no indentation.
|
|
||||||
|
|
||||||
- Alternately, if that looks ugly, you can also
|
|
||||||
indent the next line a bit for a prettier look.
|
|
||||||
|
|
||||||
- You can put large blocks of text in your list by just indenting with four spaces.
|
|
||||||
|
|
||||||
This is formatted the same as code, but you can inspect the HTML
|
|
||||||
and find that it's just wrapped in a `<p>` tag and *won't* be shown
|
|
||||||
as preformatted text.
|
|
||||||
|
|
||||||
You can keep adding more and more paragraphs to a single
|
|
||||||
list item by adding the traditional blank line and then keep
|
|
||||||
on indenting the paragraphs with four spaces. You really need
|
|
||||||
to only indent the first line, but that looks ugly.
|
|
||||||
|
|
||||||
- Lists support blockquotes
|
|
||||||
|
|
||||||
> Just like this example here. By the way, you can
|
|
||||||
> nest lists inside blockquotes!
|
|
||||||
> - Fantastic!
|
|
||||||
|
|
||||||
- Lists support preformatted text
|
|
||||||
|
|
||||||
You just need to indent eight spaces.
|
|
||||||
|
|
||||||
|
|
||||||
Even More
|
|
||||||
=========
|
|
||||||
|
|
||||||
Horizontal Rule
|
|
||||||
---------------
|
|
||||||
|
|
||||||
If you need a horizontal rule you just need to put at least three hyphens, asterisks, or underscores on a line by themselves. You can also even put spaces between the characters.
|
|
||||||
|
|
||||||
---
|
|
||||||
****************************
|
|
||||||
_ _ _ _ _ _ _
|
|
||||||
|
|
||||||
Those three all produced horizontal lines. Keep in mind that three hyphens under any text turns that text into a heading, so add a blank like if you use hyphens.
|
|
||||||
|
|
||||||
Images
|
|
||||||
------
|
|
||||||
|
|
||||||
Images work exactly like links, but they have exclamation points in front. They work with references and titles too.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Inline HTML
|
|
||||||
-----------
|
|
||||||
|
|
||||||
If markdown is too limiting, you can just insert your own <strike>crazy</strike> HTML. Span-level HTML <u>can *still* use markdown</u>. Block level elements must be separated from text by a blank line and must not have any spaces before the opening and closing HTML.
|
|
||||||
|
|
||||||
<div style='font-family: \""Comic Sans\"", sans-serif;'>
|
|
||||||
It is a pity, but markdown does **not** work in here for most markdown parsers. [Marked] handles it pretty well.
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
***
|
||||||
|
***
|
||||||
|
***
|
||||||
|
***
|
||||||
|
***
|
||||||
";
|
";
|
||||||
o.Tags = RandomTags(f);
|
o.Tags = RandomTags(f);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user