Page Resource Content

Shortcode to render page resource content, it's useful to reuse content blocks, especially for writing mutilingual documentation.

Donate

Become a backer or sponsor to support our work.

On this page

Sponsors

Syntax

1{{< page-resource-content [name] >}}

Parameters

name

NameContextTypeRequiredDefaultSinceExample
name-string---

The filename.

markdown

NameContextTypeRequiredDefaultSinceExample
markdown-string-true--

Indicate whether if the content is written in Markdown.

Example

data/block

Title: Page Resource Content.

Description: Shortcode to render page resource content, it's useful to reuse content blocks, especially for writing mutilingual documentation..

Source
1{{< page-resource-content "data/block" >}}
Result

Title: Page Resource Content.

Description: Shortcode to render page resource content, it's useful to reuse content blocks, especially for writing mutilingual documentation..