Thank you for advice. I posted my question there <https://github.com/Jermolene/TiddlyWiki5/discussions/5541>
четверг, 11 марта 2021 г. в 00:29:38 UTC+3, Mat: > Hi. Your question probably fits better in the dev forum because it goes > beyond TW itself: https://github.com/Jermolene/TiddlyWiki5/discussions > Hope you get answers there! > <:-) > > On Wednesday, March 10, 2021 at 7:52:15 PM UTC+1 de...@disroot.org wrote: > >> okay, using \rules only filteredtranscludeinline transcludeinline >> macrodef macrocallinline html helped me with links and other, but >> paragraphs are still there and mess my html structure >> >> среда, 10 марта 2021 г. в 20:52:50 UTC+3, Balaram Usov: >> >>> setting tiddler type of $:/my/template to "text/html" leads to getting >>> iframe >>> >>> среда, 10 марта 2021 г. в 20:50:14 UTC+3, Balaram Usov: >>> >>>> I will appreciate any help! also it's parsing some of my link in >>>> tiddler as: >>>> <a class="tc-tiddlylink-external" href="https://my.link/" >>>> rel="noopener noreferrer" target="_blank">https://my.link/</a> and >>>> it's also breaks my template >>>> >>>> среда, 10 марта 2021 г. в 20:20:31 UTC+3, Balaram Usov: >>>> >>>>> in my widget code I'm trying to render my tiddler using template: >>>>> >>>>> ``` >>>>> var parser = this.parseTiddler("$:/my/template"), >>>>> widgetNode = $tw.wiki.makeWidget(parser, >>>>> { variables: {currentTiddler: "$:/my/tiddler"}}), >>>>> container = $tw.fakeDocument.createElement("div"); >>>>> >>>>> widgetNode.render(container,null); >>>>> ``` >>>>> It works. However, in a result I get a lot of <p> tags from template >>>>> code >>>>> >>>>> Using {parseAsInline: true} as an argument to parseTiddler changes >>>>> nothing >>>>> >>>>> -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/31683601-9074-4630-a1dd-439df22cf280n%40googlegroups.com.