;[[tiddlername]]
:[[tiddlername]]
.This is a line or paragraph
Would render (not insert)
<p>This is a line or paragraph</p>
.Line or paragraph
<p class="period-paragraph">Line or paragraph</p>
"period-paragraph"
here
? The named class did not exist. However by including it in the paragraph tag it would be available to be set in a stylesheet if desired.
We could simply set css for all p tags but being able to target those handled with the lead in period could be useful.
Perhaps Jeremy or others could chime in here but I am curious why wikified content does not already use css classes for further scalability.
Not withstanding the above we can introduce css classes using @@ and or .classname (from memory).
possible futures may include automatic paragraph id setting for targeting of a specific paragraph.
Regards
Tony
possible futures may include automatic paragraph id setting for targeting of a specific paragraph.
<a href="#fragment">stuff</a>
...
<p id="fragment">stuff</p>
Coda CoderI am aware of what you are saying but wondering about an automatic ID generation process. If coupled with an automatic TOC within the tiddler linking to such anchors no one even needs to know the ID numbers. They can be generated just in time.
For example I have a method of my own to get a serial number for each tiddler, this + an incremental number rendered into the output would give a unique id.
This is speculation of course. Since tiddler titles are unique perhaps it or its Qualified name can be used.
Are you aware of the work around using "## anchors?" I cant find the reference to it but there is surely a clue in that.