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.
- 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:
- This will be 100!
- This will be 101.
- This will be 102.
- This will be 999999997!
- This will be 999999998.
- 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 Variable | Value | |
---|---|---|
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 |
| |
NextPage | Consecutive verses | |
PrevPage | One verse | |
NextInSection | Consecutive verses | |
PrevInSection | One verse |
Page Params (Debug)
Key | Type | Value |
---|---|---|
date | time.Time | 2017-08-01 00:00:00 +0000 UTC |
draft | bool | false |
iscjklanguage | bool | false |
lastmod | time.Time | 2022-01-11 10:54:57 -0500 -0500 |
publishdate | time.Time | 2017-08-01 00:00:00 +0000 UTC |
tags | []string | "lists" "custom-counter" |
title | string | "Force ordered list numbering" |
File Object (Debug)
FileInfo Variable | Value |
---|---|
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" |