Adding configuration files to pages for granular control of exportation.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2024-01-02 10:41:24 -05:00
parent 8983f25b3a
commit 979facfd86

View File

@ -79,6 +79,15 @@ LePage >> asMarkdownFile [
^ MarkupFile exportAsFileOn: folder / self markdownFileName containing: self asMarkdown contents
]
{ #category : #'*MiniDocs' }
LePage >> config [
| configFile |
configFile := self storage / 'config.ston'.
configFile exists
ifTrue: [^ STON fromString: configFile contents ]
ifFalse: [ ^ nil ]
]
{ #category : #'*MiniDocs' }
LePage >> defaultPandocTemplate [