build(sdlc): seed data, figures and rendered package for 23/09 feedback
This commit is contained in:
@@ -12,6 +12,8 @@ function extractDocumentContent(markdown) {
|
||||
.slice((titleMatch?.index ?? 0) + (titleMatch?.[0].length ?? 0))
|
||||
.replace(/^<!--\s*footer:.*?-->\s*$/m, '')
|
||||
.replace(/<br\s*\/?>/gi, ' ') // markup, not document text
|
||||
// A figure prints its caption; the image path is markup.
|
||||
.replace(/^!\[([^\]]*)\]\([^)]*\)\s*$/gm, '$1')
|
||||
// List markers are drawn by the renderer, not stored as text: the browser
|
||||
// paints them from <ol>/<ul> and Word from numbering.xml, so they are
|
||||
// markup here too and must not be expected in the extracted text.
|
||||
|
||||
Reference in New Issue
Block a user