With everything going on in the US I’ve sadly been unable to tinker the way I’d 
like to, though do hope to pick things up again soon!

- - -
Mike Tannenbaum
Design Strategist & Facilitator
215-260-0871 // he • him • his

** I do not receive email on my cell, so please call or text to reach me 
quickly **
On Jun 9, 2020, 2:22 PM -0400, Brandon Philips <[email protected]>, wrote:
> Hey Mike-
>
> Did you get something working?
>
> I am using
>
> tiddlywiki . --rendertiddlers '[!is[system]tag[publish]]' 
> $:/core/templates/static.tiddler.html . text/plain
>
> And the html files are rendering but the markdown isn't transformed into 
> html- the markdown is just in the body.
>
> Thank You,
>
> Brandon
>
> On Wednesday, May 20, 2020 at 6:44:17 AM UTC-7, Mike Tannenbaum wrote:
> > awesome, thank you both! Still learning the differences between node and 
> > browser installs.
> >
> > The plugin library doesn't show up for me (it just shows up like this 
> > below) but I was able to find the plugins through searching and install the 
> > way you do with node.
> >
> >
> >
> > Thanks again!
> > On Wednesday, May 20, 2020 at 6:41:03 AM UTC-4, Saq Imtiaz wrote:
> > > Consider using the official markdown plugin instead, via Settings -> 
> > > Plugins
> > >
> > > On Tuesday, May 19, 2020 at 12:11:15 AM UTC+2, Mike Tannenbaum wrote:
> > > > Hi everyone,
> > > >
> > > > I'm new here and have been immersing myself in TW for the past week or 
> > > > so. Thanks for sharing so much in this group — it's been incredibly 
> > > > helpful to search through and find resources.
> > > >
> > > > After feeling comfortable with TW I thought I had all things worked out 
> > > > and suddenly ran into an odd error, of which I've now identified the 
> > > > source. The challenge is: I can't figure out how to fix it so thought 
> > > > I'd share here and see if anyone else has had this situation and/or has 
> > > > ideas how to resolve.
> > > >
> > > > I'm working with a fresh install of TW in node.js and it's all working 
> > > > well locally.
> > > > I then added Stroll, Tooltips plugin, and Markdown plugin. I've also 
> > > > made many tiddlers, all of which are working well.
> > > >
> > > > When I went to generate a static site, I got errors in my terminal:
> > > > $ tiddlywiki --rendertiddlers [!is[system]] 
> > > > $:/core/templates/static.tiddler.html ./static text/plain
> > > > $:/plugins/anstosa/tw5-markdown/wrapper.js:99
> > > >             const tree = dom.parseFromString(source, 'text/html');
> > > >                              ^
> > > >
> > > > TypeError: Cannot read property 'parseFromString' of undefined
> > > >     at new MarkdownParser 
> > > > ($:/plugins/anstosa/tw5-markdown/wrapper.js:99:30)
> > > >     at $tw.Wiki.exports.parseText ($:/core/modules/wiki.js:902:9)
> > > >     at $:/core/modules/wiki.js:921:16
> > > >     at $tw.Wiki.exports.getCacheForTiddler 
> > > > ($:/core/modules/wiki.js:840:23)
> > > >     at $tw.Wiki.exports.parseTiddler ($:/core/modules/wiki.js:917:24)
> > > >     at $tw.Wiki.exports.parseTextReference 
> > > > ($:/core/modules/wiki.js:933:16)
> > > >     at TranscludeWidget.execute 
> > > > ($:/core/modules/widgets/transclude.js:53:25)
> > > >     at TranscludeWidget.render 
> > > > ($:/core/modules/widgets/transclude.js:32:7)
> > > >     at ListItemWidget.Widget.renderChildren 
> > > > ($:/core/modules/widgets/widget.js:390:15)
> > > >     at ListItemWidget.render ($:/core/modules/widgets/list.js:299:7)
> > > >
> > > > After exploring, I realized that when tiddlers are type 
> > > > text/x-markdown, the render spits out this error. When I change all 
> > > > tiddlers to text/vnd.tiddlywiki the render works well and the static 
> > > > site files are output.
> > > >
> > > > I haven't done anything other than click and drag the files over from 
> > > > the install sites, as the authors note.
> > > >
> > > > Anyone have any idea what could be causing this? It's boggling my mind 
> > > > and I want to use markdown! Ha!
> > > >
> > > > Thanks everyone,
> > > > Mike
> --
> You received this message because you are subscribed to a topic in the Google 
> Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/tiddlywiki/FZrMsFdZmCs/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/75b672ba-d89a-4258-88de-cee290a07c30o%40googlegroups.com.

-- 
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/7cab2c1e-ab97-4307-908e-24926ff5c4a4%40Spark.

Reply via email to