From e3f3a62078414b324115e25546d9a0f9a554c672 Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Tue, 23 May 2023 08:08:35 -0500 Subject: [PATCH] Debugging Markdeep conversors. --- src/MiniDocs/Markdeep.class.st | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/MiniDocs/Markdeep.class.st b/src/MiniDocs/Markdeep.class.st index 4bc28dd..f816fa7 100644 --- a/src/MiniDocs/Markdeep.class.st +++ b/src/MiniDocs/Markdeep.class.st @@ -60,7 +60,7 @@ Markdeep >> bodyReplaceAll: original with: replacement [ { #category : #accessing } Markdeep >> commentPubPubDelimiters [ | commented openners | - openners := #('::: {.pub-body-component}' '::: {.editor .Prosemirror}' '::: {.pub-notes}'). + openners := #('::: {.pub-body-component}' '::: pub-body-component' '::: {.editor .Prosemirror}' '::: {.pub-notes}'). commented := self body. openners do: [:openner | commented := commented copyReplaceAll: openner with: '' @@ -351,7 +351,8 @@ Markdeep >> pubPubFootnotesLinesRangeFor: contentSection [ | beginningLine endingLine | beginningLine := contentSection lines size + 1. contentSection lines doWithIndex: [:line :i | - (line includesSubstring: '::: {.pub-notes}') ifTrue: [ beginningLine := i ]. + ((line includesSubstring: '::: {.pub-notes}') or: [line includesSubstring: '::: pub-notes']) + ifTrue: [ beginningLine := i ]. (i > beginningLine and: [ line beginsWith: ':::' ]) ifTrue: [ endingLine := i. @@ -465,7 +466,8 @@ please visit the HTML version or download the PDF. { #category : #accessing } Markdeep >> removeCCByLicenseDiv [ | licenseDiv| - licenseDiv := '
+ licenseDiv := ' +
**License:** [Creative Commons Attribution 4.0 International License (CC-BY 4.0)](https://creativecommons.org/licenses/by/4.0/)