.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 7f3231c "Fix export of ordered list numbers larger than 2 digits (> 99)" on 2022-01-11.
Markdown source of this page

Force ordered list numbering

tags: lists custom-counter


Description/Summary

Ordered lists with custom counter. This will be 1. This will be 2. This will be 10! This will be 11. This will be 17! This will be 18. This will be 123! This will be 124. This will be 1 again. This will be 2. Another example: This will be 1. This will be 3! This will be 7! This will be 100! Ordered list numbers larger then 99:


Content

Ordered lists with custom counter.

  1. This will be 1.
  2. This will be 2.
  1. This will be 10!
  2. This will be 11.
  1. This will be 17!
  2. This will be 18.
  3. This will be 123!
  4. This will be 124.
  1. This will be 1 again.
  2. This will be 2.

Another example:

  1. This will be 1.
  2. This will be 3!
  3. This will be 7!
  4. This will be 100!

Ordered list numbers larger then 99:

  1. This will be 100!
  2. This will be 101.
  3. This will be 102.
  1. This will be 999999997!
  2. This will be 999999998.
  3. This will be 999999999. CommonMark 0.30 allows an ordered list marker to be at max 9 digits long.

See (org) Plain Lists to read more about plain lists in Org.


Page (Debug)

Page VariableValue
Name "Force ordered list numbering"
Title "Force ordered list numbering"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/posts/force-ordered-list-numbering/"
RelPermalink "/posts/force-ordered-list-numbering/"
Data
page.Data{} (type:page.Data)
NextPageConsecutive verses
PrevPageOne verse
NextInSectionConsecutive verses
PrevInSectionOne verse

Page Params (Debug)

KeyTypeValue
datetime.Time 2017-08-01 00:00:00 +0000 UTC
draftbool false
iscjklanguagebool false
lastmodtime.Time 2022-01-11 10:54:57 -0500 -0500
publishdatetime.Time 2017-08-01 00:00:00 +0000 UTC
tags[]string "lists" "custom-counter"
titlestring "Force ordered list numbering"

File Object (Debug)

FileInfo VariableValue
UniqueID "914c836691f0b16e71d3668d190c48b8"
BaseFileName "force-ordered-list-numbering"
TranslationBaseName "force-ordered-list-numbering"
Lang "en"
Section "posts"
LogicalName "force-ordered-list-numbering.md"
Dir "posts/"
Ext "md"
Path "posts/force-ordered-list-numbering.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]