From 59b8387728e6e976c50465103aa3a36fcb19b9e3 Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Tue, 21 May 2024 11:36:46 -0500 Subject: [PATCH] Extending exportation to other formats. --- src/MiniDocs/Markdown.class.st | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/MiniDocs/Markdown.class.st b/src/MiniDocs/Markdown.class.st index e50190e..cf759c4 100644 --- a/src/MiniDocs/Markdown.class.st +++ b/src/MiniDocs/Markdown.class.st @@ -27,6 +27,16 @@ Markdown >> asMarkdeep [ commentYAMLMetadata ] +{ #category : #accessing } +Markdown >> asMarkdownTiddler [ + + ^ Tiddler new + title: self title; + text: self contents; + type: 'text/x-markdown'; + created: Tiddler nowLocal. +] + { #category : #accessing } Markdown >> body [ ^ body