Mario,
I am reviewing this now. From my perspective it is very very good, for an
author to quickly format the output, build their own easy styling shortcuts.
Notes;
- this tiddler has no $ ":/plugins/wikilabs/tick-text/styles"
- We need to get naming clear
- <tick> ' for turning a line into a div
- <angle quotes> » for paragraphs
- To me The "angle brace" aka Angle quotes: » Alt 0187 just does not
sound correct although it is official?
- I have a class defined .cb { color: blue; } /* Text color blue /*
- » .cb does nothing?
- ´.cb does nothing?
- :::.cb.rrr works but for the blue?
- I would like a The "*angle*" will create *P *element, stops at the
first *\n* newline it finds.
- Because it will change \n\n to `<p>content</p>\n <p></p>` which
suits me because additional new lines collapse into one line between
paragraphs
The editor toolbar buttons need the add before the remove, perhaps a simple
list-before
$:/plugins/wikilabs/tick-text/EditorToolbar/add-newline
$:/plugins/wikilabs/tick-text/EditorToolbar/add-tick
$:/plugins/wikilabs/tick-text/EditorToolbar/remove-tick
$:/plugins/wikilabs/tick-text/EditorToolbar/add-angel
$:/plugins/wikilabs/tick-text/EditorToolbar/remove-angel
Could my custom classes not be working because the result is as follows?
- » .cb does nothing?
- ´.cb does nothing?
`<div class="cb wltc-l1 wltc">` and your classes replace the inline provide
calls?
eg `<div class="wltc-l1 wltc cb">`
I continue to work on related ideas.
eg; Setting the css in a tiddler and allowing it to be toggled between the
required css or display: none;
Regards
Tones
On Monday, 31 August 2020 at 19:15:39 UTC+10 PMario wrote:
> 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
> - 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/bc3f2917-c073-4b9b-8228-76bc6176fccdn%40googlegroups.com.