Debuggin HTML export support.
This commit is contained in:
parent
3277bd49b6
commit
353a4da578
@ -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' }
|
||||
|
Loading…
Reference in New Issue
Block a user