Bilibili

Shortcode to embed the Bilibili video into Markdown content.

Syntax

1{{< bilibili >}}

Parameters

id

PositionNameTypeRequiredDefaultSince
#0idstring--

The video ID, such as BVXXXXXXXXXX.

fullscreen

PositionNameTypeRequiredDefaultSince
-fullscreenboolean-true-

Whether to allow fullscreen.

Examples

It’s recommended that use the Ratio to nest videos if you’re using Bootstrap.

Nested by Ratio Shortcode

1{{< bs/ratio >}}
2  {{< bilibili BV1iT411B7yH >}}
3{{< /bs/ratio >}}

Fullscreen Disabled

1{{< bs/ratio >}}
2  {{< bilibili id=BV1iT411B7yH fullscreen=false >}}
3{{< /bs/ratio >}}