Bilibili

Shortcode to embed the Bilibili video into Markdown content.

Syntax

1{{< bilibili >}}

Parameters

id

PositionNameTypeRequiredDefaultSinceExample
#0idstring---

The video ID, such as BVXXXXXXXXXX.

fullscreen

PositionNameTypeRequiredDefaultSinceExample
-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

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

Fullscreen Disabled

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