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