.Kind (page): .Type (posts) / .Layout ()
Bundle: n/a (regular page)
[ categories | tags | search ]
ox-hugo Test Site

This is the test site for the ox-hugo package for Emacs/Org-mode.

It is updated automatically after each commit to the ox-hugo repo. It was last updated on Mar 05, 2024 19:24 UTC.


This page was created/modified in commit aa79350 "fix: Do ensure a blank line after a captioned src or example block!" on 2022-05-27.
Markdown source of this page

Source block without list syntax in a list

tags: src-block lists hyphen


Description/Summary

Test source blocks inside list.

Content

This case is not affected by Blackfriday Issue #239 as the fenced code block does not have Markdown syntax lists.


ox-hugo Issue #645

  1. paragraph -> src block with caption -> paragraph -> src block

    (message "hey")
    

    sandwiched paragraph

    (message "hey")
    

    last paragraph

  2. paragraph -> src block without caption -> paragraph -> src block

    (message "hey")
    

    sandwiched paragraph

    (message "hey")
    

    last paragraph


Page (Debug)

Page VariableValue
Name "Source block without list syntax in a list"
Title "Source block without list syntax in a list"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/posts/list-has-src-block-but-no-list-syntax/"
RelPermalink "/posts/list-has-src-block-but-no-list-syntax/"
Data
page.Data{} (type:page.Data)
NextPageSource block with list syntax in a list
PrevPageCode-fenced source blocks (default behavior)
NextInSectionSource block with list syntax in a list
PrevInSectionCode-fenced source blocks (default behavior)

Page Params (Debug)

KeyTypeValue
datetime.Time 2017-08-01 00:00:00 +0000 UTC
descriptionstring "Test source blocks inside list."
draftbool false
iscjklanguagebool false
lastmodtime.Time 2022-05-27 14:53:36 -0400 -0400
publishdatetime.Time 2017-08-01 00:00:00 +0000 UTC
tags[]string "src-block" "lists" "hyphen"
titlestring "Source block without list syntax in a list"

File Object (Debug)

FileInfo VariableValue
UniqueID "15ee5488883b1ec1b501badcaceb6aea"
BaseFileName "list-has-src-block-but-no-list-syntax"
TranslationBaseName "list-has-src-block-but-no-list-syntax"
Lang "en"
Section "posts"
LogicalName "list-has-src-block-but-no-list-syntax.md"
Dir "posts/"
Ext "md"
Path "posts/list-has-src-block-but-no-list-syntax.md"

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.101.0 (commit 466fa43c16709b4483689930a4f9ac8add5c9f66) . This site is powered by Netlify.
[Test Site home | ox-hugo home]