Asciidoctor YouTube
可自动宽高比
Automatic aspect ratio
安装|Installation
gem install asciidoctor-youtube
使用|Usage
语法|Syntax
youtube::xxxx[]
xxxx 是视频 ID
xxxx is the video ID
Asciidoctor
asciidoctor -r asciidoctor-youtube /path/to/test.adoc
Hugo
config.toml
[markup.asciidocExt]
extensions = ['asciidoctor-youtube']