これはイタリックです
これはボールドです
これはイタリック&ボールドです
これは打消し線です
これは上付きです
これは下付きです

        val line = layout.getLineForOffset(start)        val edge = if (dir > 0) {            layout.getParagraphLeft(line)        } else {            layout.getParagraphRight(line)        }
val line = layout.getLineForOffset(start)val edge = if (dir > 0) {  layout.getParagraphLeft(line)} else {  layout.getParagraphRight(line)}
  • Unordered list

    quote

  1. Ordered list

    quote

emphasized emphasized
strong strong
strike

Kramdown::Document

Kramdown::Document.new(raw_content, formatter_options).to_mastodon

First level header

Second level header

H1 header

H2 header

H3 header

H4 header

H5 header
H6 header

A sample blockquote.

Nested blockquotes are
also possible.

Headers work too

This is the outer quote again.

This is a blockquote
continued on this
and this line.

But this is a separate paragraph.

This is a sample code block.

Continued here.
This is also a code block.~~~Ending lines must have at least asmany tildes as the starting line.
def what?  42end




  1. This is a list item
  2. And another item
  3. And the third one
    with additional text
  • A list item
    with additional text
  1. This is a list item

    with a blockquote

    And a header

  2. Followed by another item

  3. Item one
    1. sub item one
    2. sub item two
    3. sub item three
  4. Item two
  • Item one
  • Item two
  • Item three
term
definition
another definition
another term
and another term
and a definition for the term
term

definition

definition
This is a term

This will be a para

a blockquote

A header

A simple table
with multiple lines
Header1 Header2 Header3
cell1 cell2 cell3
cell4 cell5 cell6
cell1 cell2 cell3
cell4 cell5 cell6
Foot1 Foot2 Foot3

A nice blockquote

A nice blockquote

A nice blockquote

paragraph

paragraph

This is a paragraph

… paragraph continues here.

Extensions can also be used
inline **see**!

Header without id

This is emphasized,
this too!

This is strong,
this too!

This works as expected!

A link to the kramdown homepage.
A link to the homepage.

A [link][kramdown hp] to the homepage.
[kramdown hp]: kramdown.gettalong.org “hp”

A link to the [kramdown hp].
[kramdown hp]: kramdown.gettalong.org “hp”

An image: gras

Use Kramdown::Document.new(text).to_html
to convert the text in kramdown
syntax to HTML.

Use backticks to markup code,
e.g. `code`.

This is a text with a
footnote[^1].
[^1]: And here is the definition.

This is a text with a
footnote1.

This is an HTML
example.
*[HTML]: Hyper Text Markup Language

This is written inred.

This is red.

block quote

puts 'aa'

inline code
`バッククオート```2連続バッククオート`` の記述

color decoding
#ffce44
rgb(255,0,0)
rgba(0,255,0,0.4)
hsl(100, 10%, 10%)
hsla(100, 24%, 40%, 0.5)

  1. And here is the definition.

    With a quote!

Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.