The thing here is that you probably don't want to/need to "change the way 
h3 tags are rendered" - because the whole UI is being rendered through 
Tiddlywiki templates etc. there is probably a better mechanism to get at 
what you want to change, rather than trying to over-ride core behaviour, 
especially without properly appreciating just how complicated the core is.

If you want to change the way titles of Tiddlers are displayed, for 
example, you should be looking at the relevant tiddler (
$:/core/ui/ViewTemplate/title 
<http://127.0.0.1:8080/docs/twtutorials/#%24%3A%2Fcore%2Fui%2FViewTemplate%2Ftitle>)
 
or perhaps you want to target a different part of the wiki? 

As Tony suggests, perhaps explain a little more of what you're trying to 
achieve?

Regards,
Richard


On Saturday, October 7, 2017 at 1:00:06 PM UTC+11, K wrote:
>
> Perhaps I didn't understand the problem before, due to tiddlywiki's 
> internal strucure, so I need to rephrase what it is exactly what I want to 
> do:
>
> 1. I want to change the way h? tags are rendered. That is to say, I want 
> to add another element right after the h tag when it is rendered. Do I have 
> to write a widget or is there a much more simple way to do this. ie. put an 
> <a> element right after.
>
> So do I modify $:/core/modules/widgets/element.js? because seems to 
> control the rendering of elements.
>
> If I have to write a widget, I need to know where it will go and how it 
> will plug into the tw core.
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/84071751-85ed-40de-b067-e32ac5012745%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to