I'm moving my personal journal written in markdown files into Tiddlywiki.
I'm looking for a way to perform string/text manipulation on the input of
an <$edit-text>.
Currently, each entry starts with a ##header which was the date the entry
was written. A blank line follows and then one or more paragraphs of the
main entry body:
## YYYYMMDD
Lorem ipsum dolor sit amet, consectetur adipiscing elit...
I've created a Journal Entry tiddler page which would have an <$edit-text
tag=textarea> widget. I'll manually paste in the textarea each journal
entry and by pressing a button it will be split into the following
elements/fields, which would then be added as a new tiddler with the
following fields:
Title: YYYYMMDD
Text: Lorem ipsum (etc)
Year: YYYY
Month: MM
I'm looking for a way way to perform all the little subtring()
manipulations and isolating the header line and the main body. I've already
figured how to create a new tiddler from a series of existing fields.
--
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/1bc16db9-aacd-4844-86ec-325a03df4f03n%40googlegroups.com.