Adding preview functionality as a temporal file.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-01-28 14:30:56 -05:00
parent 093dce2946
commit 0def1b82e2

View File

@ -24,6 +24,11 @@ LePage >> fileName [
^ self title asDashedLowercase, '.', ((self uidString copyFrom: 1 to: 5 ) copyWithoutAll: '/'), '.md.html' ^ self title asDashedLowercase, '.', ((self uidString copyFrom: 1 to: 5 ) copyWithoutAll: '/'), '.md.html'
] ]
{ #category : #'*Grafoscopio-Utils-Core' }
LePage >> markdeepPreview [
^ self asMarkdeep exportAsFileOn: self markdeepTemporalFile
]
{ #category : #'*Grafoscopio-Utils-Core' } { #category : #'*Grafoscopio-Utils-Core' }
LePage >> markdeepTemporalFile [ LePage >> markdeepTemporalFile [
| fileName sanitized | | fileName sanitized |