Hi Mat, 

I did publish an EXPERIMENTAL wiki [1] at wikilabs, that contains 3 new 
wikitext elements. 

The orginal conversation between Tony, TiddlyTweeter and me can be found 
here [2] ;)

-------------- BACKUP - BACKUP - DO NOT USE IT FOR PROUCTION WIKIS 
!!!!!!!!! --------------

A "tick" and an "angle bracket". 

The "tick" aka Acute cccent: ´  Alt 0180 
The "angle brace" aka Angle quotes: » Alt 0187 


The "*tick*" will create a *DIV *element _and_ stopps at the first *\n *newline 
it finds

The "*angle*" will create *P *element, stopps at the first *\n\n* 
double-newline it finds. 


There are a lot of classes predefined. you'll need to find the yourself. 
There is no docs atm. 

Open all tiddlers and view them in *edit mode *with *preview ON*. You'll 
see what's going on. 

eg: 

´.r.j.c.cp Some test text 

will create 

<div class="r j c cp wltc-l1 wltc">Some test text </div>

-----------------------------------

´´´.r.j.c.cp Some test text 

<div class="r j c cp wltc-l3 wltc">Some test text </div>

which is indented about 6em. .. Indentation should match bullet-lists. 

-----------------------

´ii.r.j.c.cp Some test text 

<div class="ii r j c cp wltc-l1 wltc">Some test text </div>

This example has the same visual output but creates differnt HTML code. It 
depends on the users taste, what will be used. 

*Using the "angel brackets" does the same things, _but_ using a P tag and 
stopping at double-newline. *

There are 5 new edit-toolbar-buttons: Only 3 have shortcuts atm. You can 
assign them at the Control Panel



from left: 

  - Add 1 new-line at the end of the line, for all selected lines.
  - Remove a "tick"
  - Add a "tick" at the _start_ of the line
  - Remove and "angel brace"
  - Add an "angel brace"
 
Remove actions will also remove spaces at the start of the line. ... This 
may change in the future. 

------------------------

The site  also contains the *space-space-newline pugin*, that creates hard 
line breaks using 

 - space-space-newline  or
 - space-space-backslash

There are  2 tiddlers 

 -  test-hard-linebreak-and-transclusion 
<https://wikilabs.github.io/editions/tick-text/#test-hard-linebreak-and-transclusion>
 -  nl-is-hard-linebreak 
<https://wikilabs.github.io/editions/tick-text/#nl-is-hard-linebreak>

That test a different way to crate hard linebreaks. NO plugin involved!!

========================

I'll update the link frequently .. Hopefully with some more docs and new 
functions. 

Planned: 

 - test if it's possible to use ---  aka HR instead of \n\n as a 
stop-indicator. 

 - test if it's possible to use pragmas to use different HTML tags instead 
of DIV and P

 - test if it's possible to use a pragma to define the stop-indicator

 - test if it is possible to create a wrapper element and call a macro 
using the text as the ONLY parameter


That's it for the moment. 

have fun!
mario

PS: Yea I know my page has a typo. I named it "angel bracket" .. and I'm 
not sure if I'll fix it ;)

[1] WikiLabs - tick-text 
<https://wikilabs.github.io/editions/tick-text/#test-kitchen:test-kitchen%20test-angel-brackets%20test-hard-linebreak-and-transclusion%20%3A%2Fplugins%2Fwikilabs%2Ftick-text%2Fstyles%20column-styles%20nl-is-hard-linebreak%20box-styles>
[2] Initial Thread with Tony and me 
<https://groups.google.com/d/msg/tiddlywiki/BJe7X-0jhSc/Xfwpk8BIAgAJ>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/607b81d1-cee8-4e1f-92eb-462d29449ad6o%40googlegroups.com.

Reply via email to