I'll be happy to change it, if someone has a good idea.
This is looking fantastic especialy your handling inline now. Thank so much for your systematic, all inclusive and openness to feedback. Your are a rare developer in this regard.
Finaly i need to understand, or ensure we have addressed;
- when your syntax says "name" this is effectivly a html tag name including arbitary names?
- the difference between \n and \n\n handling
- How we handle applying the same to a block ie content containing more than one \n or \n\n?
\tickblock tick=<symbol> tag=<html-tag> endString=<ends a block> mode=<block/inline> use=<name of previous tick= definition>
Hi, help requested
I'm searching for a new name for \tickblock and \tickinline
I'm not happy with\tickblock tick=<symbol> and \tickblock angel=<symbol>
I see now you have abstracted this even further such that our original usecase is but a small subset of the possible.Is it posible for the user to select the character?
I particulary love the details example because optional display of content has being way too fidly.
Then rather than tick= it could be esc= which is what is used to excape from wikitext and apply the htmltag and classnames.
- Shall I / we start to write some end user doco?
I continue to be amazed at this development, infinite extencibility in another direction.
Thanks, Loving it. Like a pig in mud :)I just realised the >> correlates with \n\n
tick single character with \n is that correct?
So you can test, what works best for you. ... I'll probably remove some of them in V 1 (my emphasis)
V 0.1.0 is uploaded for testing: https://wikilabs.github.io/editions/tick-text/- All the pragma names have changed.- tag is htmlTag now.- Possible IDs: tick, angel, comma,
degree,(my emphasis)
Interesting developments.\customize is the perfect name for this pragma!
A critical question (which kind of brings back things I stated in the very beginning of this thread/discussion): Who should use this?As noted, there's a distinction between tiddlyfiddling/coding vs. notetakeing/authoring.
Is it posible for the user to select the character?
Interesting developments.\customize is the perfect name for this pragma!
A critical question (which kind of brings back things I stated in the very beginning of this thread/discussion): Who should use this?
As noted, there's a distinction between tiddlyfiddling/coding vs. notetakeing/authoring. But even for the former, those are very complex pragmas and if one is even supposed to add multiple of them... hmmm.
Maybe the whole construct should be a stamp? (But, there's already four from this!)
PMario wrote:- Possible IDs: tick, angel, comma, degree, underlineSo you can test, what works best for you. ... I'll probably remove some of them in V 1 (my emphasis)Please don't! If anything increase their number to 6 or 8!
PMario wrote:V 0.1.0 is uploaded for testing: https://wikilabs.github.io/editions/tick-text/- All the pragma names have changed.- tag is htmlTag now.- Possible IDs: tick, angel, comma,degree,(my emphasis)IMO for standard inline markup this is an EXCELLENT choice. Its on many European keyboards. Its on Android keyboard sub-keyboards.
Additionally its visually nice for Markup Readability. It avoids the issues with readability of quote & accent marks. Its not commonly so often used unless you an industrial chemist or weather fetishist in normal use.
Mat wrote:Interesting developments.\customize is the perfect name for this pragma!
A critical question (which kind of brings back things I stated in the very beginning of this thread/discussion): Who should use this?As noted, there's a distinction between tiddlyfiddling/coding vs. notetakeing/authoring.Mat & PMarioMat, I think you right to mark that point again.But I believe that PMario intends that there is a DEFAULT where markup symbols are used for clearly defined action.
The more complex "custom pragmas" enable a lot more. But I think he intends the latter are built on top of the former?
TonyM & PMarioTonyM wrote:Is it posible for the user to select the character?Originally I thought that too! Not now. WHY? Because if you do that it breaks portability.
We can also support interactive and print ready cases like the details widget transforming to an open text box for print.
<style>
.wltc { background-color: lightblue; }
</style>
<$presentation>
<$slide>Welcome to ''Reveal.js''</$slide>
<$slide>Embedded inside TiddlyWiki</$slide>
<$slide>
<$slide>Vertical Slides</$slide>
<$slide>Can also me manged with one level of nesting</$slide>
</$slide>
</$presentation>
<$presentation>
'slide Welcome to ''Reveal.js''
'slide Embedded inside TiddlyWiki
'slide
'slide Vertical Slides
'slide Can also me manged with one level of nesting
?
</$presentation>
'article.classname<space>Content of a html article tag?
'article<space>Content of a html article tag?
class="wltc-l1 wltc"
Forgive this question, because I expect the answer exists in the thread, but do I read it correctly that I can tick my way to a htmltag without a pragma?eg
'article.classname<space>Content of a html article tag?
I would home it was so because then its easier to use and teach, withyout needing to go into pragmas.
Even
'article<space>Content of a html article tag?Would be very powerful in the user uses a css stylesheet to apply to the html tag.
Also is there a reason both tick and angle etc... apply by default the same classes such as
class="wltc-l1 wltc"
As it would be valuable if there were a class that applied to all tick, all degree and all angels separately along with the existing global class="wltc"egclass="tick wltc-l1 wltc"Is there relevance to the order here?
The code can be as simple as follows in a self contained tiddler.
<$presentation>
<$slide>Welcome to ''Reveal.js''</$slide>
<$slide>Embedded inside TiddlyWiki</$slide>
<$slide>
<$slide>Vertical Slides</$slide>
<$slide>Can also me manged with one level of nesting</$slide>
</$slide>
</$presentation>
In this you can see its one widget $presentation wrapping multiple slide widgets.I raise this now, although do not want to slow progress, because I wonder if the tick solution could handle, or be made to handle widgets?or similar
<$presentation>
'slide Welcome to ''Reveal.js''
'slide Embedded inside TiddlyWiki
'slide
'slide Vertical Slides
'slide Can also me manged with one level of nesting
?
</$presentation>
The tool has a flexibility & utility that is quite surprising!I think quite a lot more than any of us anticipated!
<$presentation>
<$list filter="[tag[slide]sort[title]]">
<$slide>
<$transclude mode="block" />
</$slide>
</$list>
</$presentation>
I will post an example of usage to solve a difficult problem once I have enough content for it to be understandable by others.
Widgets? What is this? @PMario, could you please show some example using native widgets?
What does it actually do? Style the output from the widget?
If I did use different IDs I could have made the whole list widget thing into a completely cryptic line of almost nothing.\customize degree htmlTag="$presentation" mode=block endString="---"
\customize angel htmlTag="$list" mode=block endString="--" filter="[tag[slide]sort[title]]"
\customize tick htmlTag="$slide" mode=block endString="-"
° » ´ <$transclude mode=block /> - -- ---
\customize <ID>=<userSymbol> cHtmlTag=<tag> .. or <widget-name> cParams=<class definitions eg: .i.hl.x.y> cEndString=<string> cUse=<userSymbol reference>
I did check all TW widgets. There should be no naming conflict with the new names.
As you can see, there is an other minor issue now. cHtmlTag isn't the right name anymore, since it can be a HtmlTag or a $widgetname
So a question. Will we keep cHtmlTag or should it be customTag or cTag?
Feedback please!
-mario
Top
<$arbitrary>
Content of arbitrary widget
</$arbitrary>
bottom
Top
Undefined widget 'arbitrary'
bottom
\customize angel=row tag=tr mode=block
»row
Row content
«row
»table
»»tr
»»»td row detail
»»»td 1 not block
««
«
Blah blah »highlight This is highlighted text« and this is not
- I think it is worth persisting before release so we do not compromise the future possibilities, or release something which is later very different and confuses people.
- Not with standing this perhaps a MVP just for paragraphs and div's plus classnames and no customisation?
- This could allow a set of companion stylesheets to be build and tested
On parameter names
- Using a naming standard like your proposed one, always makes things harder for me to read, especially coming back to it after some time away, that is the leading c as when I scan wikitext the c interferes with spotting the name
- Have you considered using parameter names with the $ as we do elsewhere to separate it from another fieldname like in the macro-call $name?
- .name and _name and others should be possible, perhaps there is a precedent somewhere?
- They will not be used outside the pragma?
On underlineCan I suggest you stop referring to "_" as Underline as it is an underscore, sure wiki text uses double underscore to wrap text and underline it. But the character is underscore and its used to underline in some cases.
On Custom tagIf the one parameter can now be used for html tags and widgets, although they are tags, we do not call widgets tags, perhaps a different name like "element"? which doco will say is a "html tag or widget name" Arbitrary html tags permitted.
OtherI wonder if arbitrary widget names can be used?, and by customising we can toggle if that widget introduced by that tick can be disabled/enabled. eg debug mode.´.debug This when in debug mode like <<transclusion>>I note that
Top
<$arbitrary>
Content of arbitrary widget
</$arbitrary>
bottomProduces;
Top
Undefined widget 'arbitrary'
bottomI wonder if we could toggle this "Undefined widget " message off, when not debugging, on by default.
On the demo I spilt [[test-table-1]] so that the customise pragma were in a different tiddler to the table.Transclusions or import pragma to import the customise code failed to make it work.
I was reviewing the current demo, and saw how Mario uses "-" "--" etc... as end string. In this case we have to refer back to the customise pragma
First a question;
- Can a specify endstring "\n" or "\n\n" even "\t" tab?
- If so I would be happy to forgo the current » for 'p
I was wondering if we could make use of the pair of characters» alt-175« alt-174Such that rather than specify the end string build it from the symbol
\customize angel=row tag=tr mode=block
»row
Row content
«row
«row
" It should already work that way with V0.2.3 that is online.Similarly one could allow nesting and auto detection
»table
»»tr
»»»td row detail
»»»td 1 not block
««
«
»table
»tr
»td row detail
»td 1 not block
«tr
«table
Be aware: » works with \n\n .. BUT you can define your endString as you want
If mode=block there needs to be an endString.
And inline, thinknig more of my first example.
Blah blah »highlight This is highlighted text« and this is not
»highlight This is highlighted text« .. Some countries use this in valid prose text. So we can't use it
It would be easy to have a tool that wraps a selection in 1 2 or more pairs eg »selection« line or block then the user defines each
\importcustom {{mytablecode}}
I wonder if we could toggle this "Undefined widget " message off, when not debugging, on by default.
Similarly one could allow nesting and auto detection
»table
»»tr
»»»td row detail
»»»td 1 not block
««
«I personally have no idea, what that should do. The following should be possible already, with the online version.
°°inline uses degree with the next version°°
»highlight This is highlighted text« .. Some countries use this in valid prose text. So we can't use it
It would be easy to have a tool that wraps a selection in 1 2 or more pairs eg »selection« line or block then the user defines eachYea the °°degree°° will need to get a new toolbar. ... We will need a lot more toolbars. ... But I'll only want to have 1 for each ID and it will only insert the character at the "editor caret" position.
First I made a mistake and tried to use\import
Is there a reason we cant use the same mechanisium?
Regardless I did useand it works well, it also helps limit the applicability while allowing re-usability.
\importcustom {{mytablecode}}
In the same vein would it be possible to tag such a tiddler with $:/tags/Macro or similar to make them global?
- No need to protect the user from redefinition's etc.. style-sheets and existing macros already permit this, it is even safe to call it a feature!
- Perhaps we need to make clear what in a customise pragma will result in redefinition occurring if customised a second time.
- Eg the tick=name
In the previous reply on widgetsI wonder if we could toggle this "Undefined widget " message off, when not debugging, on by default.I understand it is a core feature, I just ask if it may be of value to raise an issue?, does it's opening to arbitrary widget names, introduce the ability for "custom markup" to customise, the widget name used, in effect to disable that widget.
Mario,
- I think it is worth persisting before release so we do not compromise the future possibilities
Similarly one could allow nesting and auto detection
»table
»»tr
»»»td row detail
»»»td 1 not block
««
«I personally have no idea, what that should do. The following should be possible already, with the online version.The ides was if you use » or »» looks for an endString (unless specified the reverse is automatically looked for «« or «. as the end string.
°°inline uses degree with the next version°°Are you suggesting here double degree, for inline?, single degree for line., I like the look °° and its better than the ugly @@
In haste, PMario & TonyMTonyM wrote:Mario,
- I think it is worth persisting before release so we do not compromise the future possibilities
I agree. PMario opened a lot of doors. We need time to go through them to TEASE out the power yet ensure workable default behavior.ONE thing on my mind is INLINE nesting. Current @@ ... @@ prevents it. I'd like time to show how a markup inline of »...« could support it and correct closure of inlined elements. So »tag-A ...»tag-B ...«« get closed correctly.
It may be possible to detect: °°a some text °°b nested text °°b °°a ... May be!
It may be possible to detect: °°a some text °°b nested text °°b °°a ... May be!
I'm styling °.ul in°.red line/°/°
Since HTML is perfectly nested WHY do we need to define closure via "---" or "happyClosure"?
The user should have a way to mark it, of course...BUT do they need to define that marker? Surely its implied already by HTML structure?
That is the basic question.For instance I start a block § and finish it /§. Now, SAY I NEST a block within it of § nested /§ can't we sort that out through code?--since legal HTML is perfectly nested?
In short, are special closure strings (like "---".) needed?
Would not a standard open symboil/close symbol PAIR work better?
My point before that we have REDUNDANT characters so we can address internationally a user can use some not all.They chose for EACH MAIN MARKUP between two options.Portability would be adequate
I did create the "Add a new-line at the end of the line" toolbar button, that will double up every existing \n to convert a marked block of text into html P tags.
Paragraph
penultimate paragraph
Last paragraph
'p Paragraph
'p
'p
'p penultimate paragraph
'p Last paragraph
<p>Paragraph</p>
<p></p>
<p></p>
<p>penultimate paragraph</p>
<p>Last Paragraph</p>
Paragraph
penultimate paragraph
Last paragraph
This is a line or paragraph
This is another line or paragraph
This is a line or paragraph This is another line or paragraph
This is a line or paragraph
This is another line or paragraph
This is a line or paragraph
This is another line or paragraph
\define ´() tick ´
\define _() underscore _
\define ,() comma ,
\define ~() tilde ~
\define °() degree °
\define »() angle »
* <<´>>
* <<_>>
* <<,>>
* <<~>>
* <<°>>
* <<»>>
Last thread paginated.Apropos what character is appropriate for PMarios construction, PMario wrote:I'll be happy to change it, if someone has a good idea.I think proper keyboards should be prioritized here, not "screen keyboards" because presumably most people do their full blown wiki editing on real keyboards, not on their their phones.The generic currency symbol i.e ¤ can be found on a few keyboards, including both Swedish and the Tastaturbelegung_E2 ;-)<:-)
<$element>
widget to add a hook so that plugins can intercept DOM node creationThis is what is making me unsure, around the \n and \n\n cases;I did create the "Add a new-line at the end of the line" toolbar button, that will double up every existing \n to convert a marked block of text into html P tags.
Is this so you can take multiple lines and combine them into one paragraph?
- so you use \n\n as the end of block "endString"?
- Is this why you started using div for blocks because P separated every line?
The reason I wanted to do this based on \n only is as follows;
- if \n can be used as the end string to create a paragraph, once a paragraph is created there is always a blank line that follows that paragraph, HTML standard with P
- if there is a second or third \n, ie blank lines and you apply the same prefix to each then please follow what happens below;
In this example I use 'p to represent the custom tick for paragraph
Individually or bulk inclusion of the 'p<spaces> to every line gives
'p Paragraph
'p
'p
'p penultimate paragraph
'p Last paragraph
Becomes on render
<p>Paragraph</p>
<p></p>
<p></p>
<p>penultimate paragraph</p>
<p>Last Paragraph</p>
It seems to me that my use case exclusively needs only \n as the end string, it's when you wish to block format such as a div that this changes, and where we may want to have an alternative end string such as \n\n,
- Are you placing "\n\n" in the content effectivly so you can use it as an end string?
- Or Can you NOT rely on the \n\n in the content in many cases, thus you need to add it?
Given we can now specify the end string, perhaps the default behaviour should be endstring "\n" on newlines (visible or not). After all this is what
confuses everyone new to tiddlywiki, ie when using line based wiki text the line feed is honoured
eg * # ! a newline is created, but any "free text" ends up concatenated with the content above and the (first) new line hidden.
It seems to me that given the value of a 'p to resolve this issue, with line breaks, just as every other wikitext special character does as well,
- but in this case on any/every line then this should be a primary focus,
- with the \n\n cases only secondary?
Restated, we need to fix the fact that in the editorAutomatically becomes
This is a line or paragraph
This is another line or paragraph
This is a line or paragraph This is another line or paragraph
´ This is a line or paragraph
´ This is another line or paragraph
And
This is a line or paragraph
This is another line or paragraphLooks the same after render
Note: There is no way to display this as entered (without workarounds)
This is a line or paragraph
This is another line or paragraph
I have chosen to use paragraphs to help when the content has many extra line breaks, but other html tags will deliver the output as seen in the editor text.
- Note this is \n in action not \n\n
I hope this is clearer.
As a mentor once said to me if you perceive a problem then consider some possible solutions then come to me with the "problem and possible solution", not just the problem. So I will try.
I note the pre-release says
- Extended the internal
<$element>
widget to add a hook so that plugins can intercept DOM node creationJust mentioning because we are considering the "element" parameter. I doubt there is an issue
\customize <ID>=<userSymbol>
_element=<tag>
_params=<class definitions eg: .i.hl.x.y>
_endString=<string>
_use=<userSymbol reference>
_mode=<block / inline=default>
Known issues
- There are some examples, that don't work.
- 1 "aside" example floats outside the tiddler "frame"
- importcustom needs some improvements.
But I hope we don't have to change the parameter names again.
-mario
try the following lines in 0.2.3 and you'll see, it works as you expected. .. There is no need to add ticks to empty lines.
´ line 1
´ line 2
´ line 3
Thanks for your extensive reply, a few notes: These alternate work flows and emphasis will most likely be accommodated, but to be clear on my own perceived need, some comments.try the following lines in 0.2.3 and you'll see, it works as you expected. .. There is no need to add ticks to empty lines.
´ line 1
´ line 2
´ line 3
I come from the opposite position, I want to be able to "select all" and apply tick, so I am happy for every line to have it, so I do not need to add ticks selectively. Although I may go through later and remove them or add content.
- Unfortunately I can no longer see how to achieve this in the latest version even with customisation and especially if I use the tick or angle buttons and there are blank lines in the select.
And also In reality a lot of editors especially WYSIWIG, word as an example places a Paragraph marker in the content when one hits enter.
- In word processors You have to shift-enter to insert a new line only.
- It may be standard to do <enter><enter> in Wikitext and markup but this is not intuitive for those not used to writing in markup or some programming.
- Perhaps a toggle between the enter key returning one or two new lines, perhaps we call 2 newlines "paragraph break" in wiki text.
- Or I could use a keybord shortcut tool to make my numeric pad enter generate \n\n as a paragraph break?
On data entry or writing in wiki markup.
Yours Sincerly,Somewhat lost again
Thanks for your extensive reply, a few notes: These alternate work flows and emphasis will most likely be accommodated, but to be clear on my own perceived need, some comments.try the following lines in 0.2.3 and you'll see, it works as you expected. .. There is no need to add ticks to empty lines.
´ line 1
´ line 2
´ line 3
I come from the opposite position, I want to be able to "select all" and apply tick, so I am happy for every line to have it, so I do not need to add ticks selectively. Although I may go through later and remove them or add content.
- Unfortunately I can no longer see how to achieve this in the latest version even with customisation and especially if I use the tick or angle buttons and there are blank lines in the select.
If empty lines are selected, they don't get a marker anymore. They will stay empty.
Text XXteXtXX
Text Xte\Xt/X
Mario,If empty lines are selected, they don't get a marker anymore. They will stay empty.Is there a way I can force this? I want empty lines to get a special character, that is honoured, if at all possible!
´p line 1
´p line 2
´p line 3
<p>paragraph 1</p>
<p></p>
<p></p>
<p>paragraph 2</p>
<p>paragraph 3</p>
<style>
p {
border: 1px red solid
}
</style>
<p>paragraph 1</p>
<p></p>
<p></p>
<p>paragraph 2</p>
<p>paragraph 3</p>
-----
´p line 1
´p line 2
´p line 3
- I often harvest text from other sources, I want to be able to force every line to be a paragraph as they often have unnecessary line breaks.
- Or more to the point I would like to prefix all lines with a special character and have a custom element or classnames assigned to every line, no exceptions like blank lines.
Hi guys. I've lost track of this discussion. Is there documentation now?
What's the best demo (perma-)link, if any?
Is there any issue where my input could contribute value?
Thanks!
PMario - thanks for updates. I just tested the latest. When clicking something in the dropdown, e.g "Colorbox danger" there's a "Copied to clipboard" message but no visible change in the edited text. I was expecting some prefixing ticks with classnames, and no "Copied to clipboard" message.
If I recall, the tick was to make a div and the angle quote to make a <p>... so what do the other characters do?
Or maybe the fact that there is a double pipe in the dropdown is meant to separate the optional "div characters" from the optional "p characters"?
If they in deed are options for the same thing, I'd suggest a selectbox instead of radio buttons.
The select box is uglier but I would not think people change their chosen indicators much so there's no reason to have them permanently exposed.
For the docs, it would make sense with a very first tiddler to read that that gives a quick overview. Currently the "Basics" tiddlers are alphabetically sorted so it is not clear if there's an order to them.
For the docs, it would make sense with a very first tiddler to read that that gives a quick overview. [...]
» How to style a Paragraph
» Misusing standard wikitext to indent a paragraph
» Custom Wikitext Markers
» Easy styling for Paragraphs
» More CSS Details
» About Colour Boxes
» Basics for advanced users
»» How to style a Paragraph
»»» Misusing standard wikitext to indent a paragraph
»»»» Custom Wikitext Markers
»»»»» Easy styling for Paragraphs
»»»»»» More CSS Details
»»»»»»» About Colour Boxes
»»»»»»»» Basics for advanced users
»» How to style a Paragraph
»» Misusing standard wikitext to indent a paragraph
»» Custom Wikitext Markers
»» Easy styling for Paragraphs
»» More CSS Details
»» About Colour Boxes
»» Basics for advanced users
´p How to style a Paragraph
´p Misusing standard wikitext to indent a paragraph
´p Custom Wikitext Markers
´p Easy styling for Paragraphs
´p More CSS Details
´p About Colour Boxes
´p Basics for advanced users
» How to style a Paragraph
» Misusing standard wikitext to indent a paragraph
» Custom Wikitext Markers
» Easy styling for Paragraphs
» More CSS Details
» About Colour Boxes
» Basics for advanced users
» How to style a Paragraph
» Misusing standard wikitext to indent a paragraph
» Custom Wikitext Markers
» Easy styling for Paragraphs
» More CSS Details
» About Colour Boxes
» Basics for advanced users
Last thread paginated.Apropos what character is appropriate for PMarios construction, PMario wrote:I'll be happy to change it, if someone has a good idea.I think proper keyboards should be prioritized here, not "screen keyboards" because presumably most people do their full blown wiki editing on real keyboards, not on their their phones.The generic currency symbol i.e ¤ can be found on a few keyboards, including both Swedish and the Tastaturbelegung_E2 ;-)<:-)
- Perhaps rather than "use in empty lines" you could say "all lines" or reverse and say "Lines with content only" that one turns off if then need to do what I want.
- Alternatively a toggle button "All lines" on/off and gives you a tool tip to explain.
- I think the "ID - Alone" would be better as "ID - only"
- When you do copy to clipboard it would help if there were a training space.
- If you highlight a set of lines an + angle brackets twice something interesting but incorrect happens
and Again
»» How to style a Paragraph
»»» Misusing standard wikitext to indent a paragraph
What If I wanted ?
»» How to style a Paragraph
- Perhaps the select ID drop down could include "Sets {{toolbarIcon}}" so it is clear once set you highlight your lines and use the toolbarIcon
- The copy to clipboard is a great feature, but initially it looks like the only feature of the drop down.
- Perhaps giving both tick toolbaricon and dropdown the same color would help?
Notes:Add new line - extra use?What was you desire for the add new line option mario?
I was testing and I had this
´p How to style a Paragraph
´p Misusing standard wikitext to indent a paragraph
How to style a Paragraph
Misusing standard wikitext to indent a paragraph
What is fantastic about this is it stills displays he same but one has now double lined the text, its easier to read and insert notes or additional content
Question arising. Perhaps a Button to remove all \n\n on the selected text would also be very helpful from problem text?
Interim conclusion about these toolsThere will be a lot of new possibilities and techniques arise from this set of tools, many of which we cant imagine yet. As a result we may need to build a community reference for collecting tips and trickes as a result.
Continued review ofVersion 0.3.2
- Each of the tooltips that read "...at the start of the line" should read ""...at the start of the line(s)", to suggest the multi-line select option.
- Your documentation is well written and a great start!
- The style tag in https://wikilabs.github.io/editions/tick-text/#More%20CSS%20Details bleeds onto all other uses of » on the visible page.
- Could you spell out what wltc stands for as otherwise it is hard to remember, its not Symantec! perhaps cc "custom class" or something would be better/shorter?
- I notice the below does not work UNLESS you add the extra line breaks, should this be a default behaviour?, because it looks broken.
» How to style a Paragraph
» Misusing standard wikitext to indent a paragraph
» Custom Wikitext Markers
» is for me and works with default TW paragraphs.
- A nice side effect of adding and removing » is that every line maintains a leading space, the All - Will remove this space but not the "» -"
- This is a good side effect because it is easy for users to insert/paste/type new ID's for "Easy styling for Paragraphs"
- But I wonder if it should be more explicit
- Perhaps there could be a None option when selecting the ID, then we can also "add your own" for any line prefix, not only the allowed ID's
- Could we provide a small text box in the drop down where one could manually select the id and type in what is to follow, rather than being forced to "add your own" ?
- eg enter .i.r with tick selected, to apply to every line rather than having to have a defined prefix?
- If people role their own classes this list may fill up very quickly without this manual method.
- It may allow prepending everyline with <<macroname>> or perhaps one day <<macroname "Line">> although this can be done in custom editor Toolbar buttons.
Key difference between I am Mario's view here?On further reflection I think I can see where our ideas diverged at some point, to do with the \n and \n\n
- When one types, or pastes content. it is natural to use one \n for a line \n\n\ for a paragraph, to get around the issue I wanted a ' or something to treat at render each line as a <p></p> this give rise to a behaviour similar to \n\n
- However Mario you have added the option to add \n\n because if you don't tick and » will not work
eg; This only includes the » in the content
» How to style a Paragraph
» Misusing standard wikitext to indent a paragraph
» Custom Wikitext Markers
» Easy styling for Paragraphs
» More CSS Details
» About Colour Boxes
» Basics for advanced users
- To me the above is the simplest and easiest to enter without \n\n and the way a lot of pasted text comes this way
- Thus I would like the special characters to respond to \n
» and may be ~ are for TW paragraphs.
- Remember wiki text is a short hand, forcing \n\n to make this work is expansive, not short hand.
- I like both methods, but feel we should reverse the default (matter of opinion) and I am not sure I still understand (your - Mario's) view point fully.
- I hope this goes further to bridge this different perspective.
In closing;
- I would not put so much time into this solution except that is is close and of substantial value, and mario has committed a great deal of effort, in fact we all have.
- so all my review comments here have being prepared thoughtfully and carefully, to reduce the time needed.
- I hope they assist Mario by being clear and to the point where possible keeping the generated work to a minimum.
- I love the - All button, cool. Refresh or reverse using these tools1
I don't understand the above sentence.
My Review continues.I hope this helps so far?Yes!
Marion,
Clean up notes;
- I love the - All button, cool. Refresh or reverse using these tools1
I don't understand the above sentence.The All button allows remove all ID's including attached classes etc.. this is;
- Cool
- Useful
- Great