Indended statements in YAML and TOML metadata blocks
---
references:
- type: article-journal
id: WatsonCrick1953
author:
- family: Watson
given: J. D.
- family: Crick
given: F. H. C.
issued:
date-parts:
- - 1953
- 4
- 25
title: 'Molecular structure of nucleic acids: a structure for deoxyribose
nucleic acid'
---
are not fontified as such.
Software VersionsSince both YAML and TOML metadata statements can be indented using tabs and/or spaces (common in YAML to indicate nesting, allowed, but not required in TOML), the regexp markdown-regex-declarative-metadata
should be modified as follows to allow tabs and/or spaces at BOL:
(defconst markdown-regex-declarative-metadata "^[ \t]*\\([[:alpha:]][[:alpha:] _-]*?\\)\\([:=][ \t]*\\)\\(.*\\)$" "Regular expression for matching declarative metadata statements. This matches MultiMarkdown metadata as well as YAML and TOML assignments such as the following: variable: value or variable = value")
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4