index
Markdown Web
マークダウンファイル群をHTMLに変換してgithub pagesにデプロイします
このサイト自体もMarkdown Webで動いてます
導入方法
/.github/workflows/markdown_web.yml
name: execute_markdown_web
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: suinua/markdown_web@master
with:
articles_directory_path: 'articles'//マークダウン群のフォルダ
github_token: ${{ secrets.GITHUB_TOKEN }}
独自の構文、要素
URLの埋め込み
embed:url
embed:https://qiita.com/Qiita
embed:https://f1-motorsports-gp.com/
Qiita - Qiita
Qiita公式アカウントです。Qiitaに関するお問い合わせに反応したり、お知らせなどを発信しています。
qiita.com
F1モタスポGP.com
f1-motorsports-gp.com
素のURL
素のURLは[URL](URL)と同じです
https://f1-motorsports-gp.com/
https://f1-motorsports-gp.com/
目次
#と##を目次に変換してます
ノート
:::info
インフォ
:::
:::warn
警告
:::
:::alert
より強い警告
:::
:::value
無地
:::
:::
infoは省略可能
:::
インフォ
警告
より強い警告
無地
infoは省略可能
内側に一部マークダウンを記入可能
ヘッダー系や、embedは無理
強調
打ち消し
Contributors
suinua
recommends