.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 Oct 05, 2024 21:20 UTC.


This page was created/modified in commit 422a80c "Add test for an ordered list following an ordered list" on 2018-05-18.
Markdown source of this page

List following a list

tags: lists


Description/Summary

You need to force end of list when you have something like an unordered list immediately following an ordered list. The easiest and cleanest way to do that is adding a comment between those lists. – Reference That would be the implementing in the Org exporter backend. But in Org, two consecutive blank lines after a list ends the list. In the below example, the foo* items would be in a different <ul> element than the bar* items.


Content

You need to force end of list when you have something like an unordered list immediately following an ordered list.

The easiest and cleanest way to do that is adding a comment between those lists.Reference

That would be the implementing in the Org exporter backend. But in Org, two consecutive blank lines after a list ends the list.

In the below example, the foo* items would be in a different <ul> element than the bar* items.

Unordered list following an unordered list #

Unordered list following an ordered list #

  1. foo3
  2. foo4

Ordered list following an unordered list #

  1. bar5
  2. bar6

Ordered list following an ordered list #

  1. foo1
  2. foo2
  1. bar1
  2. bar2

Description list following an ordered list #

bar1
description
bar2
description

Page (Debug)

Page VariableValue
Name "List following a list"
Title "List following a list"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/posts/list-following-a-list/"
RelPermalink "/posts/list-following-a-list/"
Data
page.Data{} (type:page.Data)
NextPageInline equations
PrevPageNested lists
NextInSectionInline equations
PrevInSectionNested lists

Page Params (Debug)

KeyTypeValue
datetime.Time 2017-07-31 00:00:00 +0000 UTC
draftbool false
iscjklanguagebool false
lastmodtime.Time 2018-05-18 16:04:11 -0400 -0400
publishdatetime.Time 2017-07-31 00:00:00 +0000 UTC
tags[]string "lists"
titlestring "List following a list"

File Object (Debug)

FileInfo VariableValue
UniqueID "243def7a3c7b7f238901a438166723b5"
BaseFileName "list-following-a-list"
TranslationBaseName "list-following-a-list"
Lang "en"
Section "posts"
LogicalName "list-following-a-list.md"
Dir "posts/"
Ext "md"
Path "posts/list-following-a-list.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]