You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
816 B
36 lines
816 B
+++ |
|
title = "Source block following a list" |
|
description = """ |
|
Test to verify rendering of a source block immediately following a |
|
plain list, and even a list following a heading following a source |
|
block. |
|
""" |
|
tags = ["lists", "src-block"] |
|
categories = ["upstream"] |
|
draft = false |
|
+++ |
|
|
|
- [Ref 1](https://discourse.gohugo.io/t/rendering-code-blocks-properly-from-md-files/19126) |
|
- [Ref 2](https://discourse.gohugo.io/t/possible-regression-in-v0-55-5-regarding-lists-containing-code-blocks/18502/4?u=kaushalmodi) |
|
- _Blackfriday_ Issue #[556](https://github.com/russross/blackfriday/issues/556) |
|
|
|
<!--listend--> |
|
|
|
- list item 1 |
|
- list item 2 |
|
|
|
<!--listend--> |
|
|
|
```nim |
|
echo "hello" |
|
``` |
|
|
|
- another list item 1 |
|
- another list item 2 |
|
|
|
|
|
## A heading in post {#a-heading-in-post} |
|
|
|
```nim |
|
echo "hello again" |
|
```
|
|
|