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