Transforming ascii text into embeddable images?

67 views
Skip to first unread message

stefano franchi

unread,
Jan 28, 2019, 6:58:17 PM1/28/19
to TiddlyWikiDev
I just started using Tiddlywiki and I am trying to understand how I can customize for  my purposes.
Here is the first issue I am facing:

1. Suppose I have a  tool that is capable of transforming a few lines of Ascii into an image (pdf/eps/png, etc). 
2. I want to be able to open a tiddler, insert those lines of text and have  the image produced by the tool embedded into the tiddler

First newbie question: Am I right that I would need to write a new widget plugin to achieve what I have in mind?

PMario

unread,
Jan 29, 2019, 2:23:46 AM1/29/19
to TiddlyWikiDev
On Tuesday, January 29, 2019 at 12:58:17 AM UTC+1, stefano franchi wrote:
First newbie question: Am I right that I would need to write a new widget plugin to achieve what I have in mind?

yes


TonyM

unread,
Jan 29, 2019, 3:04:46 AM1/29/19
to TiddlyWikiDev
Stephano

Mario's answer is to the point and correct. But could I suggest before you do such a thing you look at what other visualisation tools are available in Tiddlywiki, from the railroad plugins and others that require simple text and translate it into other forms, usually graphics and visualisations. You could then print them to a PDF printer.

If you are comfortable sharing the details of "your a few lines of Ascii into an image" tool perhaps there is an equivalent already available.

Regards
Tony

Jeremy Ruston

unread,
Jan 29, 2019, 3:22:58 AM1/29/19
to tiddly...@googlegroups.com
The Railroad plugin in the official plugin library is an example of reusing such a library -- in this case, the underlying library is https://github.com/tabatkins/railroad-diagrams


Best wishes

--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/108d47f8-72f7-4465-a26c-a137c9bef00a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

stefano franchi

unread,
Jan 29, 2019, 12:28:14 PM1/29/19
to tiddly...@googlegroups.com
Thanks to all for the suggestions. The Railroad plugin+library looks very similar to what I'm trying to do. I will start by looking at that code.

Cheers,
Stefano



For more options, visit https://groups.google.com/d/optout.


--
__________________________________________________
Stefano Franchi

stefano...@gmail.com
http://stefano.cleinias.org

TonyM

unread,
Jan 30, 2019, 1:12:24 AM1/30/19
to TiddlyWikiDev
Reply all
Reply to author
Forward
0 new messages