I Would Like To Expand Wikitext

I have been thoroughly enjoying the Internals Plugin. For those of you who haven’t discovered it yet, it’s one of the standard plugins, doesn’t require a reload and allows you to see the HTML as you type Wikitext.

But I wondered if I could hexp expand the Wikitext, giving it more functionality.

Is there someone who could help me get started? For example, add background colours to cells in a table and line widths and line types.

A

Isn’t this a job for CSS?

interesting ! I’m not sure I’ve used it before, gotta check it out

what is your use case - drafting your future web pages in TiddlyWiki or something like that?

I am hopefully soon going to finish this Tiddly to Blog contraption pipeline, so curious about anything related

Well, I recently learned something very useful from TiddlyWiki.com: that you can use transclusion with templates:

https://tiddlywiki.com/#Transclusion%20with%20Templates

Which means you can use WikiText in your template tiddler.

For example: your template tiddler might have |NAME:|{{!!user-name}}|

When a tiddler refers to that template, we don’t need to create another table. If a large template is made, it saves a lot of space in TW.

@vuk mentioned using CSS. That’s also possible in this scenario. But it would be nice to use WikiText in the template instead.

That said, there’s a work-around if you use something like LibreOffice, OpenOffice or Word. When you drag an item into TW (but not your tiddler), you can get the HTML code made up for you. Certain elements are embedded into the HTML which normally should be handled by CSS. However, since you’re using templates through transclusion, much of the need for using single-source CSS (forgive me, I don’t know the proper page-developer term) is not necessary.

The combination of using transclusion with templates and WikiText might simplify layout creation.