Add support for code appendices: enable code blocks with language labels, line-number gutter, and directive-based integration.
This commit is contained in:
+2
-1
@@ -171,8 +171,9 @@ func (r *IHKRenderer) RenderAppendices() {
|
||||
case AppendixKindImage:
|
||||
r.renderAppendixImage(app.Path)
|
||||
case AppendixKindTable:
|
||||
// Render without numbering/recording; the annex header already identifies the table.
|
||||
r.renderTableBody(app.TableData, "")
|
||||
case AppendixKindCode:
|
||||
r.RenderCodeBlock(app.Lang, app.Code)
|
||||
}
|
||||
|
||||
if app.Landscape {
|
||||
|
||||
Reference in New Issue
Block a user