alnoda-workspaces/workspaces/mkdocs-workspace/examples/mkdocs-material/docs/showcase.md
2022-09-17 08:23:45 +00:00

97 lines
3.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Few of the Extended Markdown features
#### Code
```{.py3 linenums="1" hl_lines="5-7"}
def insertion_sort(nums):
for i in range(1, len(nums)):
item_to_insert = nums[i]
j = i - 1
while j >= 0 and nums[j] > item_to_insert:
nums[j + 1] = nums[j]
j -= 1
nums[j + 1] = item_to_insert
```
#### Emoji
:smile: :heart: :thumbsup: :100: :muscle: :accept: :point_up: :airplane: :champagne: :raised_hands: :boom: :laughing: :metal: :handshake: :older_man: :sheep: :no_entry: :mouse: :relieved: :question: :wink: :wave: :rainbow: :sleeping:
#### Critic
We Uber drivers never know whom were going to end up with as a passenger {--in the same car--}.
One day, I was driving over a new bridge, the design of which was very {~~confusing~>ugly~~}.
Completely confounded, {==I muttered==}{>>Actually I said it out loud<<}, “Id love to meet the {~~genius~>retard~~}
who designed this mess.” With that, my passenger {==extended his hand in my direction==}{>>I thought he wanted to choke me<<}
and said, “Well, today is your {--*very*--} lucky day. My name is Mike, I work for the county engineers office,
and Im the {==genius==}{>>obviously an irony<<} who designed this!”. Surprisingly, he still gave me a tip {++**of 2 dollars**++}.
#### Keys
++enter++ ++tab++ ++space++ ++arrow-up++ ++arrow-down++ ++page-up++ ++home++ ++backspace++ ++insert++
#### Tabls, lists & admonitions
!!! example "Tasklist"
=== "Output"
- [X] Plans at work
* [X] Make vanilla pudding. Put in mayo jar. Eat in the office during the lunch break
* [X] Wear shirt that says “Life”. Hand out lemons to colleagues.
* [ ] Hire two private investigators. Get them to follow each other.
- [ ] Personal plans
* [X] Make an alcoholic beverage and name it “responsibly.” Start drinking Responsibly.
* [ ] Sneeze in front of the Pope. Get blessed.
* [ ] Buy a horse, name it “Oscar Takes The Lead,” enter it in horse races.
=== "Markdown"
```
- [X] Plans at work
* [X] Make vanilla pudding. Put in mayo jar. Eat in the office during the lunch break
* [X] Wear shirt that says “Life”. Hand out lemons to colleagues.
* [ ] Hire two private investigators. Get them to follow each other.
- [ ] Personal plans
* [X] Make an alcoholic beverage and name it “responsibly.” Start drinking Responsibly.
* [ ] Sneeze in front of the Pope. Get blessed.
* [ ] Buy a horse, name it “Oscar Takes The Lead,” enter it in horse races.
```
#### Tables
**Substance** | **Description**
:--- | ---:
**Bombastium** | Rarest element in the world. Dropped into a barrel of water becomes one barrel of ice cream
**Jerktonium** | Ingestion of jerktonium causes a bad attitude, but the effects are curable by song.
**Philote** | The smallest possible particle, occupying no space at all.
#### Formulas
$$
\left(\frac{\left(\sqrt{\frac{73^2}{12x}}\sqrt{\frac{x|x|}{\log_x}}\right)}{\sqrt[3]{\frac xy}}\right)
$$
#### Diargams
```mermaid
classDiagram
Animal <|-- Duck
Animal <|-- Fish
Animal <|-- Zebra
class Animal{
+int age
+String gender
+isMammal()
+mate()
}
class Duck{
+String beakColor
+swim()
+quack()
}
class Fish{
-int sizeInFeet
-canEat()
}
class Zebra{
+bool is_wild
+run()
}
```