Custom Markup: Usage Notes & Queries #62
Replies: 54 comments 152 replies
-
Default Markup Glyph Behaviours |
Beta Was this translation helpful? Give feedback.
-
Generalise The Example For Details?The Customize the Details Element was really useful to read and play with. By trial and error I realized you can apply the same method to many cases! For instance I used the same method to create a Figure with a Figcaption (it doesn't look beautiful, good CSS later, but it works as a proof) ... It might be worth mentioning in docs that you can extend the method you illustrate for Details to other cases. I'm sure there are many other examples. I'll make note of any more I come across. |
Beta Was this translation helpful? Give feedback.
-
Adding HTML Tags Directly? Queries...@pmario I noticed that the method ...
... and same with class ...
This is different than working through pragma definitions. My queries ...
|
Beta Was this translation helpful? Give feedback.
-
Custom Markup Definition Is Incomplete@pmario, I just noticed that under Pragma Schema of Custom Markup Definition that |
Beta Was this translation helpful? Give feedback.
-
Relationship With Standard WikiText: A Comment@pmario I think your docs are very good! One thing that is obvious is that most users of TW are NOT aware of the It is interesting! Powerful! And useful! I SUGGEST we should provide a RICH example of HOW to combine standard TW WikiText markup with your Custom Markup. What do you think? |
Beta Was this translation helpful? Give feedback.
-
The Debugger: A CommentI have been using the debugger documented at Pragma Debug Options Whoah! It is great with the "both" setting. It DOES really help! |
Beta Was this translation helpful? Give feedback.
-
_endString Can Be At The End Of A Line Of Text?@pmario, messing about I found that ... Produces ... SO, Custom Markup can make NEW elements like But also, more important, is that Yes? |
Beta Was this translation helpful? Give feedback.
-
Scope Remains Same On Element Change. It Is Vital To Document This ClearlyI think it is important that the docs make VERY clear that scope matching ( BUT users who change the element, either through I am guessing, but many users will likely very quickly start using the custom |
Beta Was this translation helpful? Give feedback.
-
Simple Example Of Two Markers On One Line@pmario, further to our discussion at #62 (comment), a very simple example is to open a tag and place a header tag immediately following. For instance ... Produces ... What we really also need is in docs to have a rule-set that explains the logic. For instance the FIRST tag needs to be set to |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Editor Tools - No. Of Buttons & No. Of Keyboard ShortcutsButtons This is maybe something to ask more widely about in any future beta? Keyboard Shortcuts I did look into making more keyboard shortcuts myself, but, TBH, I really don't yet fully understand how to make keyboard shortcuts. So, it will have to wait. |
Beta Was this translation helpful? Give feedback.
-
Editor Tools - Observations On Insertion BehavioursThese are minor points. And they are really just for your information rather than me expecting you to fix anything. 1. If you place the cursor at the very top line of a Tiddler where that line is just 2. The |
Beta Was this translation helpful? Give feedback.
-
"Redefining" (kind of) Default Glyph Behaviour?Again, by trial and error, I discovered that I can "re-define" (for practical purposes) basic glyph behaviour and build a very minimal system for markup. For instance redfining tick, In TW this gives a thin hard-rule that is half-width, lightweight and centred. The ability to "redefine" the behaviour of base glyphs is VERY useful for applications where you have a limited set of Markup that is needed. For instance in Screenplay writing there are only 5 types of components you ever need for the main work. QUESTIONS for @pmario ...
|
Beta Was this translation helpful? Give feedback.
-
I think Jeremy did make some commits, that will make it easier to define "custom wikitext" using javascript and new tiddler-types. ... I didn't test the code yet, but here is a link The text is rather cryptic, so I have to have a closer look, which will need more time |
Beta Was this translation helpful? Give feedback.
-
An Experiment In Shorthand Link Insertion...For fun, @pmario, I thought this might interest you...? Obviously in real use this would be better as |
Beta Was this translation helpful? Give feedback.
-
Comments: Macro Usage Under Custom Markup@pmario the use of macros under Custom Markup is very interesting. I have been experimenting using it with Mohammad's Shiraz macros to good effect. My point? It can be used to SIMPLIFY "end-user experience" by pre-configuring common tasks under ONE in-text-flow SYNTAX. I think what we may need are "output wikis" demonstrating the advantages? Best, TT |
Beta Was this translation helpful? Give feedback.
-
|
Ciao @pmario :-) I thought you might find this AMUSING :-) ... FWIW, I use Custom Markup now in a production wiki for teaching English - to dynamically control its widths settings ... |
Beta Was this translation helpful? Give feedback.
-
|
@AnthonyMuscio wrote
TW uses Plugin authors should try to reuse those elements if the fit 100%. If not, they need a new name. I personally think, that plugin authors are not allowed to create new That's why I'm using Over time it may be possible to normalize my values and create a single file, that can be included into every project and hopefully it will just work |
Beta Was this translation helpful? Give feedback.
-
|
@AnthonyMuscio wrote:
I don't think so. Evolving the project I did always keep the initial goal in mind. "Copy pasting" long text with "single lf" is still possible and can be "batch processed". For your purpose you can use 1: CTRL - A ... mark all lines.
IMO that should be simple to remember. ... At least it was intended that way ;)
Because we can! ... Just joking. ... It mainly depends on user keyboard layout. IMO different users in different countries may have different favourites. Probably the ones, that are part of their keyboard layout.
no. see the example above.
see the example.
1 vs 2 lines .. you know ;) |
Beta Was this translation helpful? Give feedback.
-
Query Regarding Documentation@pmario I am actively trying to document my examples. I struck me that with Custom Markup we might take the documentation and CSS that Jeremy Ruston developed for TiddlyWiki.com and use it under a CM version? Question: Is there anyplace I can get the set of TW Documentation macros & their supporting CSS? |
Beta Was this translation helpful? Give feedback.
-
Queries Regarding My Examples ...@pmario I, more or less, have a set of examples ready. But, before I upload them, I have a question (Q) & issues (I) ...
My feeling is to try get you something today, if possible, so you at least have a few additional examples? |
Beta Was this translation helpful? Give feedback.
-
Comment: Consequences Of "INTEGRATION"@pmario Because I'm using Custom Markup a LOT, it is becoming clear to me that its full use leads to, sort-of, "bespoke editions". What I mean is that, IF you use it extensively, you also really need to commit to some methodology to place/name dependent Tiddlers in a consistent way. In my case I have 3 wikis using it :-). BUT now I need to try to bring all three into some sort of consistent methodology on PRAGMA Why? So that I can easily clone component sets between wikis. Just a comment, TT |
Beta Was this translation helpful? Give feedback.
-
Examples: No. 1@pmario This wiki is a copy of a real production wiki for Advanced English that is already actively used. Advanced English I give three examples for CM. The example at Many Online Dictionaries is very complex. In all the examples CM is used to (1) dynamically alter styles and classes; OR (2) dynamically construct BASIC stuff. But I think good examples? |
Beta Was this translation helpful? Give feedback.
-
Examples: No. 2@pmario this is a wiki of a few "tech" examples (i.e. to aid technical documentation) that I ported from more complex wikis. I include ...
Hope they help! |
Beta Was this translation helpful? Give feedback.
-
Examples: No. 3 - On HOLD@pmario I have more examples that mainly relate to PRINT support. Also some specialist uses of IFRAME. I'm hoping that my examples in No. 1 & No. 2 are enough for the moment? Yes? |
Beta Was this translation helpful? Give feedback.
-
Comment: New CM "Snippet / Stamp" Tools are greatI'm appreciating the snippet tools. I actually use snippet tools also as a "quick-reference" to markup in the editor. Here, for example, is something I put together quickly for "inline" markup ... It uses CM markup in the "caption" field of the snippets to show what each snippet does ... |
Beta Was this translation helpful? Give feedback.
-
Is There A List Somewhere Of ALL HTML Tags Supported Under CM?The latest version is great for supporting the render of any Glyph+HTML tagname, whether "inline" or "block"!! For myself, I want to create a reference table on available tags. @pmario, is there some place I can get a full list of them? TT |
Beta Was this translation helpful? Give feedback.
-
Comment: Language For Describing How Custom Markup WorksJust MO but I think we maybe need develop a few concepts for describing the full range of CM behaviors? Once you start using macros in For instance the "blockquote" examples redefine blockquote and ADDs "cite" and, optionally, blockquote tag attributes. @pmario I'm just wondering if we can develop a language/concepts for describing such behavior that somehow better captures the different ways that CM can work??? Just a thought, TT |
Beta Was this translation helpful? Give feedback.
-
Possible Example Of 4 Params Use For Precise Hard-Rules@pmario I am currently working on using CM to fashion "intelligent hard-rules". I studied an example you pointed to at MDN and expanded it slightly via a macro that uses all 4 _params + src. Let me know if you want me to document it for your examples of use ... It currently looks like this ... |
Beta Was this translation helpful? Give feedback.
-
Possible Example of Simple "HEDERA" Insertion Into Paragraphs"Hedera" are traditional "pauses" in print media. In this example the |
Beta Was this translation helpful? Give feedback.







Uh oh!
There was an error while loading. Please reload this page.
-
In this thread I will give my recent experience of using @pmario's Custom Markup plugin. I will also ask a few questions about its behavior.
Beta Was this translation helpful? Give feedback.
All reactions