MarkdownFileTopic.GenerateTitle Method
- Namespace
- Kampute.DocToolkit.Topics
- Assembly
- Kampute.DocToolkit.dll
Definition
Extracts the title of the topic from the Markdown file.
protected override string GenerateTitle()Returns
- string
- The title of the topic.
Exceptions
- IOException
- Thrown when an I/O error occurs while reading the file specified by FileTopic.FilePath.
Remarks
This method attempts to extract the first Markdown heading from the Markdown file. If the heading is not found, it falls back to the default title generation from the topic's name.
