Source and example blocks in lists
tags: lists src-block example-block
Description/Summary
Test to verify rendering of source and example blocks in lists.Content
-
list item 1
echo "hello from list item 1"
-
list item 1.1
echo "hello from list item 1.1"
-
echo "hello from list item 1.2" echo "there's not text before this example block in this list item"
-
list item 1.2.1
echo "hello from list item 1.2.1"
-
echo "hello from list item 1.2.2" echo "there's not text before this src block in this list item"
- list item 1.2.2.1
echo "hello from list item 1.2.2.1"
- list item 1.2.2.1
-
-
-
echo "hello from list item 2" echo "there's not text before this src block in this list item"
-
list item 3
echo "hello from list item 3"
Page (Debug)
Page Variable | Value | |
---|---|---|
Name | "Source and example blocks in lists" | |
Title | "Source and example blocks in lists" | |
ResourceType | "page" | |
Kind | "page" | |
Section | "posts" | |
Draft | false | |
Type | "posts" | |
Layout | "" | |
Permalink | "https://ox-hugo.scripter.co/test/posts/src-and-example-blocks-in-lists/" | |
RelPermalink | "/posts/src-and-example-blocks-in-lists/" | |
Data |
| |
NextPage | Smart Quotes Enabled | |
PrevPage | Source block following a list | |
NextInSection | Smart Quotes Enabled | |
PrevInSection | Source block following a list |
Page Params (Debug)
Key | Type | Value |
---|---|---|
description | string | "Test to verify rendering of source and example blocks in lists." |
draft | bool | false |
iscjklanguage | bool | false |
lastmod | time.Time | 2022-05-27 10:36:55 -0400 -0400 |
tags | []string | "lists" "src-block" "example-block" |
title | string | "Source and example blocks in lists" |
File Object (Debug)
FileInfo Variable | Value |
---|---|
UniqueID | "cc701ca616f56546f92bf35840f5f7db" |
BaseFileName | "src-and-example-blocks-in-lists" |
TranslationBaseName | "src-and-example-blocks-in-lists" |
Lang | "en" |
Section | "posts" |
LogicalName | "src-and-example-blocks-in-lists.md" |
Dir | "posts/" |
Ext | "md" |
Path | "posts/src-and-example-blocks-in-lists.md" |