Folks,

$:/core/modules/parsers/wikiparser/rules/list.js I have cloned this and 
attempted to edit it.

Certainly it looks like the place to do this but my initial attempts at 
hacking the js resulted in a dead wiki.

I see the steps as add "." period to the initial characters in the regex
Then  add a list type of  
".": {listTag: "dt", itemTag: "dt"},

Without the `<dl></dl>` wrap so it is not bolded as I want

Can anyone help with a little javascript help?

Basically I want a leading period on any line to be the same as ";" but not 
"bolded".

Regards
Tony

On Monday, May 13, 2019 at 5:42:43 PM UTC+10, TonyM wrote:
>
> Thanks Josiah - I missed that
>
> I see it defines something similar, now so JS hacking.
>
> ; This is a term that is being defined
> : This is the definition of that term
>
>
> Regards
> Tony
>
> On Monday, May 13, 2019 at 4:36:47 PM UTC+10, @TiddlyTweeter wrote:
>>
>> Ciao TonyM,
>>
>> Not sure it helps, but the parser for definition lists is in with the 
>> other list constructs in 
>> "$:/core/modules/parsers/wikiparser/rules/list.js". There is a brief note 
>> on styling in it ...
>>
>> Best wishes 
>> Josiah
>>
>> On Monday, 13 May 2019 06:07:31 UTC+2, TonyM wrote:
>>>
>>> Folks
>>>
>>> Can anyone please tell me where to find the Where are Parse rules for 
>>> ";" and ":" in Tiddly wiki
>>>
>>> I would like to create another that uses "." on a line to do the same as 
>>> ";" without bolding so I can have a quick way of indicating a line/sentence 
>>> in tiddlywiki that will have a line feed at the end and not merge with 
>>> lines above and below. Consider it a single line/paragraph version of the 
>>>
>>> """
>>> sections
>>> Honoring line
>>>
>>> feeds
>>> """
>>>
>>>
>>> Thanks
>>> Tony
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/ae919140-71dd-4c27-ba0a-494bd0f4b054%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to