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. > > [image: Screen Shot 2020-05-20 at 9.43.41 AM.png] > > 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 >>> <https://giffmex.org/gifts/transclusioninpopups.html>, and Markdown >>> plugin <http://demo.santosa.family/#tw5-markdown>. I've also made many >>> tiddlers, all of which are working well. >>> >>> When I went to generate >>> <https://tiddlywiki.com/static/Generating%2520Static%2520Sites%2520with%2520TiddlyWiki.html> >>> 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 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/75b672ba-d89a-4258-88de-cee290a07c30o%40googlegroups.com.

