DocumentOutlineModel.FindHeaderHeadline

Search the outline for a given header text and return the line number or -1 on error

public int FindHeaderHeadline(string md,
	string headerLink)

Return Value

line number or -1

Parameters

md
Markdown document

headerLink
anchor to search for - should be generated using Github Style header encoding


See also:

Class DocumentOutlineModel

© West Wind Technologies, 2016-2023 • Updated: 11/23/21
Comment or report problem with topic