Debuggin HTML export support.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-07-19 18:00:52 -05:00
parent 3277bd49b6
commit 353a4da578

View File

@ -9,8 +9,11 @@ LePage >> asHtmlFile [
OSSUnixSubprocess new
command: 'pandoc' ;
arguments: { self markdownFileName. '-o'. self htmlFileName};
workingDirectory: self storage;
arguments: {
self markdownFileName. '-o'. self htmlFileName .
'--toc' .
'--template=', self defaultPandocTemplate basenameWithoutExtension };
workingDirectory: self storage fullName;
runAndWaitOnExitDo: [ :process :outString | ^ self storage / self htmlFileName].
]
@ -90,7 +93,7 @@ LePage >> exportedFileName [
{ #category : #'*MiniDocs' }
LePage >> htmlFileName [
self exportedFileName, '.html'
^ self exportedFileName, '.html'
]
{ #category : #'*MiniDocs' }