Module
jinks/markdown
src/jinks/markdown.pookaHeadings receive their addresses from the parsed tree, not a search through rendered HTML. The same walk supplies the outline, including nested quotes and lists, while code fences remain opaque to heading recognition.
API reference
author(source: String, raw_html: Bool) -> #(String, json.Json)
INFERRED
fn(String, Bool) -> #(String, $package/pooka_json/pooka/json.Json)walk(
blocks: List(ast.Block),
options: html.Options,
used: dict.Dict(String, Bool),
outline: List(json.Json)
) -> #(List(ast.Block), dict.Dict(String, Bool), List(json.Json))
INFERRED
fn(List($package/marksy/marksy/ast.Block), $package/marksy/marksy/html.Options, $package/pooka_stdlib/pooka/dict.Dict(String, Bool), List($package/pooka_json/pooka/json.Json)) -> #(List($package/marksy/marksy/ast.Block), $package/pooka_stdlib/pooka/dict.Dict(String, Bool), List($package/pooka_json/pooka/json.Json))slug(text: String) -> String
INFERRED
fn(String) -> Stringunique(base: String, used: dict.Dict(String, Bool), number: Int) -> String
INFERRED
fn(String, $package/pooka_stdlib/pooka/dict.Dict(String, Bool), Int) -> Stringplain(inlines: List(ast.Inline)) -> String
INFERRED
fn(List($package/marksy/marksy/ast.Inline)) -> Stringsafe_inlines(inlines: List(ast.Inline), options: html.Options) -> List(
ast.Inline
)
INFERRED
fn(List($package/marksy/marksy/ast.Inline), $package/marksy/marksy/html.Options) -> List($package/marksy/marksy/ast.Inline)