Table of contents

Embed github

Directly embed github source code like gist with Prism.js syntax highlight.

Usage

{{< emgithub target="" lang="" hl="" tab_size="" />}}

Paramters:

Examples

{{< emgithub target="https://github.com/torvalds/linux/blob/v5.4/README" />}}
{{< emgithub target="https://github.com/torvalds/linux/blob/v5.4/arch/arm64/kernel/stacktrace.c#L171-L199" lang=c tab_size=8 hl="172-173,192" />}}