Once upon a time I made a lua filter for conversion:

https://groups.google.com/d/msg/tiddlywiki/0Z4F7fBOBgQ/ebTapW6zBgAJ

But Pandoc itself uses Haskell (why do they use a separate language for 
their filters?). So this is not the same as having a native pandoc 
converter.

Another approach is to convert HTML to wikitext, as done at this site:

http://skplugins.tiddlyspot.com/#HTML%20Convert
 

On Monday, August 10, 2020 at 3:47:46 PM UTC-7, Joshua Fontany wrote:
>
> https://github.com/jeffrey4l/pandoc-addons/blob/master/md2tid.lua 
>
> https://github.com/tonywoode/unslack/blob/master/mdToTiddly.js
>
> https://github.com/tonywoode/unslack/blob/master/tiddlyToMd.js
>
> Found these scripts on github. If I poke around, I might be able to make a 
> button that converts a type:text/markdown tiddler to a 
> type:text/vnd.tiddlywiki tidder (&/or vice versa). I am also aiming to 
> import Wikipedia articles in order to re-mark them up with internal TW 
> links. 
>
> Best,
> Joshua Fontany
>
> On Monday, August 10, 2020 at 9:34:57 AM UTC-7 Mark S. wrote:
>
>> With 5.1.22 the support for Markdown is greatly improved and allows some 
>> Wikitext.
>>
>> The problem with Wikipedia, is that it uses a lot of floating boxes and 
>> complicated CSS to get it's look. Getting that look into TW wouldn't be 
>> easy, no matter what approach you used. But grabbing the essence of a page 
>> isn't too hard.
>>
>> Using the extension copycat, you can copy the markdown text of an 
>> article, and paste it into a markdown tiddler. It's fast, and editable, and 
>> communicates the main features of the original page. The styling with 
>> floating images and boxes, that's going to be different.
>>
>> There seems to be a lot of denial in the TW community re the status of 
>> Wikitext vs. markdown. These conversations remind me (showing my age) of 
>> all those people who maintained that beta was better than VHS. It doesn't 
>> matter which is better, it matters which is supported and maintainable. 
>> Markdown has won, for better or worse. There is lots of support for it 
>> everywhere. TW is only supported inside of the TW project.
>>
>>
>>
>> On Monday, August 10, 2020 at 8:22:30 AM UTC-7, Diego Mesa wrote:
>>>
>>> Thanks for the response bimlas! 
>>>
>>> Im not so much interested in completeness, as I am being able to edit my 
>>> local copies of wikipedia articles. I still think integrating tw into 
>>> pandoc is the way to go
>>>
>>> On Monday, August 10, 2020 at 7:08:48 AM UTC-5, bimlas wrote:
>>>>
>>>> Forgot to mention how to save a webpage as a PDF: 
>>>> https://www.digitaltrends.com/computing/how-to-save-a-webpage-as-a-pdf/
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/adaa61fe-df41-4928-a5da-6568ee84fdb7o%40googlegroups.com.

Reply via email to