Debugging Markdeep conversors.
This commit is contained in:
parent
e7411c2075
commit
e3f3a62078
@ -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: '<!--@div-open ', openner, '-->'
|
||||
@ -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 := '<div>
|
||||
licenseDiv := '
|
||||
<div>
|
||||
|
||||
**License:** [Creative Commons Attribution 4.0 International License
|
||||
(CC-BY 4.0)](https://creativecommons.org/licenses/by/4.0/)
|
||||
|
Loading…
Reference in New Issue
Block a user