endaaman.com

2024-05-29

その他

Markdownのデザイン確認用ページ

markdown-it使ったカスタムMarkdown記法

見出し1

見出し2

見出し3

見出し4

見出し5
見出し6

これは段落です。イタリック太字コードを含むテキストです。

  • リストアイテム1
  • リストアイテム2
    • ネストされたリストアイテム
  • リストアイテム3
  1. 番号付きリストアイテム1
  2. 番号付きリストアイテム2
    1. ネストされた番号付きリストアイテム
  3. 番号付きリストアイテム3

リンク

画像 in table

元画像 元画像

画像 in table

元画像元画像 シェパードのCAMシェパードのCAM トラ猫のCAMトラ猫のCAM

引用ブロック 引用ブロック 引用ブロック 引用ブロック

Note

Always include the prose class when adding a size modifier


def median(pool):
    '''Statistical median to demonstrate doctest.
    >>> median([2, 9, 9, 7, 9, 2, 4, 5, 8])
    7
    '''
    copy = sorted(pool)
    size = len(copy)
    if size % 2 == 1:
        return copy[(size - 1) / 2]
    else:
        return (copy[size/2 - 1] + copy[size/2]) / 2
if __name__ == '__main__':
    import doctest
    doctest.testmod()
<article class="prose" bind:this={el}>
  {@html html}
</article>
app = FastAPI()

@app.get('/')
async def root():
    return { 'message': 'Hello.'}
TH 左寄せ TH 中央寄せ TH 右寄せ
TD TD TD
TD TD TD

Latexインライン式は sqrt3x1+(1+x)2\\sqrt{3x-1}+(1+x)^2 のようになる。

Latexブロック

H(A,B)=i,jP(Ai,Bj)logP(Ai,Bj)=i,jP(Ai,Bj)log(P(Ai)P(BjAj))=i,jP(Ai,Bj)logP(Ai)i,jP(Ai,Bj)logP(BjAj)\begin{aligned} H(A,B) &= - \sum_{i,j}P(A_i,B_j)logP(A_i,B_j) \\ &= -\sum_{i,j}P(A_i,B_j)log(P(A_i)P(B_j|A_j) ) \\ &= -\sum_{i,j}P(A_i,B_j)logP(A_i) - \sum_{i,j}P(A_i,B_j)logP(B_j|A_j) \end{aligned}


©2024 endaaman.com