Storybook
Example usage for writing
author image
小貓貓工程師
Dec 1, 2023 · 0 min read
Hero

Headers

h1

h2

h3


Emphasis

Emphasis, aka italics, with asterisks or underscores.

Strong emphasis, aka bold, with asterisks or underscores.

Combined emphasis with asterisks and underscores.

Strikethrough uses two tildes. Scratch this.

This is bold text

This is bold text

This is italic text

This is italic text

Strikethrough


Lists

  1. First ordered list item
  2. Another item
    • Unordered sub-list.
  3. Actual numbers don't matter, just that it's a number
    1. Ordered sub-list
  4. And another item.

  1. Make my changes
    1. Fix bug
    2. Improve formatting
      • Make the headings bigger
  2. Push my commits to GitHub
  3. Open a pull request
    • Describe my changes
    • Mention all the members of my team
      • Ask for feedback
  • Create a list by starting a line with +, -, or *
  • Sub-lists are made by indenting 2 spaces:
    • Marker character change forces new list start:
      • Ac tristique libero volutpat at
      • Facilisis in pretium nisl aliquet
      • Nulla volutpat aliquam velit
  • Very easy!

Task lists

  • Finish my changes
  • Push my commits to GitHub
  • Open a pull request
  • @mentions, #refs, links, formatting, and tags supported
  • list syntax required (any unordered or ordered list supported)
  • this is a complete item
  • this is an incomplete item

Ignoring Markdown formatting

You can tell GitHub to ignore (or escape) Markdown formatting by using \ before the Markdown character.

Let's rename *our-new-project* to *our-old-project*.


I'm an inline-style link


Images

Here's our logo (hover to see the title text):

Inline-style: alt text

!!! You don't need to specify the full path when writing blog post, as long as the asset is in the same folder path Ex. On post with path /blog/test/test1 using ![alt text](hero.jpeg) will find image at path public/blog/test/test1/hero.jpeg


Code and Syntax Highlighting

Inline `code` has `back-ticks around` it.

Inline code has back-ticks around it.

using System.IO.Compression;

#pragma warning disable 414, 3021

namespace MyApplication
{
    [Obsolete("...")]
    class Program : IInterface
    {
        public static List<int> JustDoIt(int count)
        {
            Console.WriteLine($"Hello {Name}!");
            return new List<int>(new int[] { 1, 2, 3 })
        }
    }
}

Tables

Colons can be used to align columns.

TablesAreCool
col 3 isright-aligned$1600
col 2 iscentered$12
zebra stripesare neat$1

There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown.

MarkdownLessPretty
Stillrendersnicely
123
First HeaderSecond Header
Content CellContent Cell
Content CellContent Cell
CommandDescription
git statusList all new or modified files
git diffShow file differences that haven't been staged
CommandDescription
git statusList all new or modified files
git diffShow file differences that haven't been staged
Left-alignedCenter-alignedRight-aligned
git statusgit statusgit status
git diffgit diffgit diff
NameCharacter
Backtick`
Pipe|

Blockquotes

Blockquotes are very handy in email to emulate reply text. This line is part of the same quote.

Quote break.

This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can put Markdown into a blockquote.

Blockquotes can also be nested...

...by using additional greater-than signs right next to each other...

...or with spaces between arrows.


Inline HTML

Definition list
Is something people use sometimes.
Markdown in HTML
Does *not* work **very** well. Use HTML tags.

Horizontal Rules

Three or more...


Hyphens


Asterisks


Underscores


Custom Component

See Tailwind for decoration classes.

Note

The note component is a better version of markdown quote

large text

red text

alt some text describing the image!

Epilogue

如果你有那麼一些好奇平凡的我是如何走到這的
又或是這個小創業未來將會如何發展~
讓我和你娓娓道來
我的第一個創業現在進行式

Footnote

Footnotes

[11] S-Lab, Sustainability Lab. 永續性發展工作室,一個專門給校內項目提供協助的協會。
[12] Mission Street,Santa Cruz 是美國一號高速公路上會經過的城鎮,其中Mission Street 就是一號高速公路在經過Santa Cruz時地圖上顯示的名字。
[13] Taqueria Vallarta,Taqueria 指的是專賣墨西哥捲餅的快餐店,Vallarta大概是店名的一部分。

Section

一二三四五六七八九十,section is a way for providing classes to a block of element.

Asciinema

Emoji

To use or search for Emoji, press cmd + ctrl + space

😀 😃 😄 😁 😆 😅 😂 🤣 🥲 🥹

Copyright © 2024 小貓貓工程師