*Magnify*
SPONSORED LINKS
Printed from https://www.writing.com/main/books/entry_id/101_writingml
Printer Friendly Page Tell A Friend
(165)
Rated: E · Book · Other · #101
Explanations and instructions of all things Writing.Com.
#698725 added April 23, 2019 at 1:47am
Restrictions: None
Enhance Your Item With WritingML
WritingML is the mark-up language used within Writing.Com that allows you to enhance your writing on our web-based system. Everything you need to embellish and enhance your writing can be found in the WritingML: Docs & Help pop-up window linked under Writing.Com Tools in the main navigation at the left. Tags for basic text formatting, such as bold, italic, and underline, are provided, as well as more complex tags, such as linking to members and items, embedding images, and footnotes.

WritingML is a markup language similar to HTML. If you are familiar with HTML, you will find it easy to learn. If you have not worked with HTML before, you may still find it easy to learn after reading through the simple descriptions, instructions and examples for each. We encourage you to experiment with the tags to become familiar with them and get creative with them!


The WritingML Formatting Button Bar
A bar of WritingML formatting buttons appears across the top of most writing or editing textboxes to facilitate your editing process. The button bar includes the most commonly used formatting options. The button bar makes it easy to add font attributes (bold, italic, underline, etc.), change the justification of your text, or re-format entire passages with a few clicks. Use your cursor to highlight the text you wish to modify and click the appropriate button to add the tags around your highlighted text. If you make a mistake or change your mind, highlight the tags and the text again if necessary, and click the button again to remove the tags. You can click more than one button with the same text still highlighted, and it will nest the tags properly so they close in the reverse order they were opened. After adding the writingml, make sure to unhighlight before continuing. If you're not sure what a particular button does, hover your cursor over it for a description. Note that some browsers require you to open a button that has a submenu before highlighting your text.

The Script M Button and Other Keyboard Shortcuts
Icon: Upgraded Membership (Small) Members with an Upgraded membership or higher can create their own keyboard shortcuts, called macros. These macros can be invoked at the cursor position with keyboard combinations, or by clicking the script M button to open the Macro submenu, and clicking on the desired macro. For details, see "Macros.

Some generic keyboard shortcuts, such as Ctrl-S for the Save command, also work in these writing or editing text boxes.

The ? Button
The formating button labeled ? links to WritingML: Docs & Help for additional WritingML tags that you can copy/paste to your text and fill in.

         Visit the WritingML: Docs & Help page here: WritingML Help
         *Clapper* View a tutorial video: Video: Linking to an Item


The *Smile* Button and WritingML: Emoticons
The formatting button labeled *Smile* opens the WritingML: Emoticons page in a pop-up window. The directory has a menu of sorting options at the top and can be sorted by emoticon name (alphabetically), category, or color. The default view is Show as Groups/By Category/Show Headers. In the Show as Groups options, when you click on an emoticon, the tag for that emoticon is displayed for you to copy/paste to your text; for example: {e:Cool} yields *Cool*. Note that the label Tag: does not need to be copy/pasted. In the Show as List options, you can click an icon to copy its WritingML to your clipboard, from which you can then paste it into your text.

The directory of over 900 emoticons is also linked as WritingML: Emoticons under Writing.Com Tools in the main navigation on the left.

         Visit the WritingML: Emoticons page here: List of WDC Emoticons


Linking to WritingML Help
Sometimes it's helpful to include a direct link to a particular WritingML tag so that other members can quickly and easily read about it.

To get the specific section of the pop-up to open, you must use the part of the WritingML [opening] tag located between the braces or between the opening brace and the colon (for more complicated tags). For example:

To open the section on bold, the WritingML open bold tag is {b} so the part to use is b and the link is {code:WritingML:b}, which produces: WritingML Help for b

To open the section on linking to Book entries, the WritingML tag is {entry:######} so the part to use is entry and the link is {code:WritingML:entry}, which produces: WritingML Help for entry

Notes:
*Bullet* The correct section does not open until after the pop-up finishes loading.
*Bullet* If more than one section uses the same WML identifier, all those sections will open.
*Bullet* Pending further programming, some of the more recent additions to the WML don't have a working specific-code link.
*Bullet* The specific-code link won't open the sections on Random Rotation or Display WritingML Example, which depend on delimiter usage rather than tags.

To see the exact WritingML links to use and more examples of how to do this, see WritingML Help and WritingML Help for tag.


WritingML Autocomplete
As you type certain WritingML tags in any text box (that has a WritingML toolbar above it), the system will try to help you out with autocomplete. Press enter to select the first one or use the up/down arrows (or your mouse) to pick from the list. The system inserts the tag or tags and positions the cursor to continue typing, either between paired tags or a space after single tags. It works for tags with usernames, ID numbers, or multiple options.

You can ignore the autocomplete menus if they are not what you need, except that the cursor up and down keys are being used for the autocomplete menu. To close the autocomplete menu, keep typing or click elsewhere on the page.

For colors, type {c: and the menu shows colors in random order. For a new selection of random colors, move the cursor left and then right. As you type additional letters, the menu narrows the options accordingly.

For emoticons, type {e: and the menu shows emoticons in random order. For a new selection of random emoticons, move the cursor left and then right. As you type additional letters, the menu narrows the options accordingly.

For item links, type {item: and the menu shows your most recently modified items. As you continue typing to add numbers (such as {item:102), the menu narrows its options from the items in your portfolio and items you have Favorited or Fanned.

For user links, type either {user: or @ and then start typing a username. The system shows selections from your Favorites/Fans list first, and will fill in the list with all other members on Writing.Com.

For links to notes, posts, reviews, entries, snapshots, etc., the menu shows your most recently created ones.

For embedding an image, photo, award or badge, the menu shows your most recently created ones.

Notes:
*Bullet* [Sep 18, 2013] This is supported for Chrome, Safari (Mac & iPad), Firefox and MSIE 10. It is NOT supported but should not cause problems with Mobile view (Android/iPhone) or MSIE 8. (MSIE 9 is a question mark. On phones/etc., it might work on the regular site view.) For example screenshots, see "Note: Quick Backstory: For some reason, it's alw...".
*Bullet* [Jun 26, 2016] "Re: Bitem list pop up"  : Turned on for Mobile View [beta].


Posting Unprocessed WritingML
Sometimes it's helpful to show unprocessed formatting tags in text, such as in giving directions, sharing a template, or asking for help with a formatting problem. Using doubled braces {{ and }} makes the formatting tags show as unprocessed. One way of doing this is to put {db} and {/db} tags around the formatting tags. The db tags cannot be nested inside another pair of db tags. See WritingML Help for db.


Some Pointers for Using and Troubleshooting WritingML

*Bullet* Anything in the directions that is written in ALL CAPS is meant to be replaced each time with your own text string. When a tag is used more than once in the same place (item, forum post, etc.), it can require a unique text string for each separate usage.

*Bullet* When you open a paired tag, you must close it.

*Bullet* When you open several paired tags together to format the same section of text, you must close them in the reverse of how they were opened (last opened, first closed).

*Bullet* When you have a long string of tags, either formatting tags or emoticon strings, you should include spaces between some of the tags to avoid problems caused by having a character string longer than the allowed line length. Such problems can include broken tags that were not mis-typed, stretching the page or column width, and text running behind the right margin or right column. The Code Space WritingML tag (see below) can also be used to prevent this problem.

*Bullet* Some tags, such as center and quote, automatically add a blank line at the end of the formatted text.

*Bullet* The default font size is Size 3. Note that viewers who need larger text to be able to read can adjust the size of the text to meet their personal requirements by using their browser zoom [which remembers zoom settings for particular sites/pages] and/or the accessibility settings of their operating system [which some browsers adopt as the default zoom setting]. It is not necessary to compensate for other people's needs by increasing the font size.

*Bullet* The lightest colors can be difficult to read. Some readers may need to highlight such text to see what it says.

*Bullet* List tags cannot contain emoticons or other ML. Lists cannot be uncounted. For additional list examples, see "Re: Automatic Numbering ML?"  .

*Bullet* The footnote button adds the tag pair around the highlighted text for the footnote, or adds the tag pair at the cursor if no text is highlighted. Afterward, in the leading tag you may change the style of the automatic numbering if you wish, as described in WritingML Help for footnote. The default numbering is numeric.

*Bullet* The dropnote and popnote buttons add the tag pair around the highlighted text for the inside of the dropnote or popnote, or add the tag pair at the cursor if no text is highlighted. Afterward, in the leading tag you replace the text within the quotation marks (LINK TEXT HERE) with your own link text (the marked text that indicates the dropnote or popnote when the note is closed). Do not replace or delete the quotation marks. Note that your link text should not contain quotation marks or apostrophes, or a userlink. When your desired link text doesn't work, consider using only the closing punctuation and/or a following space or {s}{s} as the link text.

*Bullet* Some tags are complex enough that they cannot be nested inside another one. For example, you cannot use a quote tag inside another quote tag, or a dropnote tag inside another dropnote tag.

*Bullet* Some tags (such as b-item links, dropnotes and popnotes) do not react well to being inside other tags (such as font attributes). You may need to close the other tag set before the fussy tag and reopen the other tag set after.

*Bullet* Popnote tags do not work in macros. Popnotes can be problematic in Mobile view.

*Bullet* IO-Amazon tags cannot be centered. When IO-Amazon tag(s) are used inside a block quote, follow-on text after the block quote can be pushed underneath the image(s) by putting the IO-Amazon tag(s) inside a pair of left, center, or right justify tags. The justify tags do not affect the image, just the text.

*Bullet* The title of a linkable location is case sensitive. Multiple locations in the same text space require unique titles. Place the location tag before the content it marks. Uses for jump links and linkable locations include a table of contents for a long text with sections, to jump past a long header in a Forum item, or to jump to the entry area of an In&Out item.

          For example: A jumplink in a Forum header can let people autoscroll down to the posts:
          At the top of the Forum header: {x-link:#posts}Click here to jump to the posts.{/x-link}
          In the last line of the Forum header: {location:posts}

*Bullet* Embedding media has a hard limit of 10 per screen load.

*Bullet* Embedding Images has a hard limit of 50 per given WritingML-parsing location (Static items, individual Forum posts, etc.). In emails and forum posts, the recipient's account setting for Image Limiting overrides the system limit. In a review, only 1 user-owned Image can be displayed; 1 shared site-owned image can also be displayed only if its image tag occurs after the image tag for the user-owned Image. Images cannot be embedded in locations where "big" WritingML is not allowed (such as scroll and BioBlock).

*Bullet* Embedding photos has a hard limit of 50 per given WritingML-parsing location (Static item, individual Forum post, Book entry, Webpage, etc.).

*Bullet* Embedding Trinkets has a hard limit of 50 per given WritingML-parsing location (Static item, individual Forum post, Book entry, etc.). In emails and forum posts, the recipient's account setting for Image Limiting overrides the system limit.

*Bullet* Merit Badges can only be displayed with the badge tag by the recipient or the giver. The sizing letters s, m, and l must be lowercase. Merit Badges cannot be displayed in reviews. Merit Badges can be displayed in your emails, items, forum posts, notes and note comments. In any given WritingML-parsing location where Merit Badges can be displayed, the combination of badge and award tags is limited to 100.

*Bullet* AwardIcons can only be displayed with the award tag by the recipient or the giver. The sizing letters s, m, and l must be lowercase. AwardIcons can be displayed in your emails, items, forum posts, notes and note comments. In any given WritingML-parsing location where AwardIcons can be displayed, the combination of badge and award tags is limited to 100.

*Bullet* Using the browser Find function (Crtl-f) can be helpful in proofreading and troubleshooting your WritingML tags.
{e:bullet}
Other WritingML Tags
These WritingML tags currently haven't graduated to WritingML Help. Some are pending and are listed here on a temporary basis. Some are beta or alpha, so they're not officially supported, could cause problems, and may change. Links to places where examples have been given are included where available.

Text Formatting:

Indent (multiple): {indent:N} for N = 1 to 10.
          Exceeding the value of N results in an in-text error message: Max 'indent' = 10
          For examples, see "Nifty update to the Indent and S WritingML Tags....

Space (multiple): {s:N} for N = 1 to 40.
          Note that {s:5} = {indent:1}.
          Exceeding the value of N results in an in-text error message: Max 's:' = 40
          For examples, see "Nifty update to the Indent and S WritingML Tags....

Code Space WritingML tag: { }
That's one blank space inside the pair of braces.
Using this tag in a very long string of writingML keeps the parser from breaking a code when it reaches its line-length limit. The tag gets replaced with nothing so it doesn't affect the appearance of the results.
For examples, see "Re: Re: Re: Review tool & differences when posted"   and "Re: Errors with WritingML on Public page"  .

Dropcap (beta): {dropcap}...{/dropcap}
          Can be used around one or more paragraphs, or around the dropcap character.
          The dropcap character must be alphanumeric (A-Z, a-z, 0-9). No spaces or special characters!
          Bold, italic, and/or color can be used on the dropcap character and/or the paragraph text.
          Size tags can be used only on the outside of the dropcap tags or only on the rest of the paragraph.
          Dropcap tags can be used inside: a block quote, a dropnote, justify tags, or linespace tags.
          A 1-character dropcap can begin a paragraph that contains a dropnote.
          Dropcap tags can contain a paragraph that ends with a dropnote.
          Dropcap tags cannot contain another set of dropcap tags.
          Dropcap tags are "big" and cannot be used in scroll.
          For examples, see "Note: Once upon a time, on a writing web site not ve..." and "Examples of Complex Dropcaps.

Comment: {--PRIVATE TEXT--}
          Can be used to keep private notes in the text of a document at the location they apply to.
          The paired comment tags and private text are not included in the parsed view of the text.
          The paired comment tags and private text are visible in the unparsed view of the text.
          Comment tags are similar to hide tags, but less obtrusive when reading.
          The comment tags can be used inside hide tags.
          Tags embedded within comment tags are not parsed.
          For an example, see "Note: Introducing the WritingML "Comments" ...".

Mirroring Emoticons: Adding prefixes to the emoticon tag allows any emoticon to be flipped horizontally and/or vertically.
          Using {e:Hand2} produces the emoticon in its original orientation: *Hand2*
          Using {he:Hand2} flips the emoticon left to right: *Hand2*
          Using {ve:Hand2} flips the emoticon top to bottom: *Hand2*
          Using {hve:Hand2} flips the emoticon both left to right and top to bottom: *Hand2*
          For examples, see "Note: Thanks to a post in [Link To Item #suggestions] ....".

Linking:

Link to Member as just handle (alpha): {h-user:USERNAME}
          For an example, see "Re: h-user tag?"  .

Link to Post from Forum: {f-post:#######}
          Re: Please r-this ;-) from Suggestion Box 

Link to Post from Forum with Content Rating: {fr-post:#######}
          Re: Please r-this ;-) from "Suggestion Box [ASR]
          Qualifies for use in scroll.

Embedding:

Embed a Progress bar (beta): {code:progress(PERCENT,COLOR_LEFT,COLOR_RIGHT,LABEL,TEXT)}
          PERCENT must be a number (with or without % sign)
          COLOR_LEFT defaults to GREEN
          COLOR_RIGHT defaults to RED
          LABEL defaults to %
          TEXT defaults to complete
          For examples, see "Note: Thanks to a suggestion from a combination of [L..." and "Re: WritingML for Progress Meter?"  .

Embed a Countdown Timer (beta): {code:countdown('Mon/Day/Year H:Mp')}
The countdown timer runs on WDC time (US Eastern), but since it's dynamic, it is based on the local time on your hardware. Thus it is approximately how much time remains.
For midnight and noon, use 11:59pm or 11:59am to avoid confusion.
Only three adjacent time divisions are displayed: years, months, days, hours, minutes, seconds. If the value of the second or third time division is zero, that label is not shown. Seconds show when the remaining time is less than a day.
Months are 30-day intervals. Years are 365-day intervals.
If the interval includes changing to/from Daylight Savings time, check that the remaining time is correct after the change.
These formats for the date-time will also work. Other formats might work.
          {code:countdown('Apr 27th, 2019 4:40p')} = [Refresh to load countdown.]
          {code:countdown('4/28/2019 16:40')} = [Refresh to load countdown.]
          {code:countdown('5-3-2019 16:40')} = [Refresh to load countdown.]
          {code:countdown('26 May 2019 4:40p')} = [Refresh to load countdown.]
          {code:countdown('05-26-20 4:40p')} = [Refresh to load countdown.]

Embed (display) a Trinket (beta): {trinket:########}
          Upgraded+ memberships only.
          The Trinket ID number is a character string of eight letters.
          For an example, see "Note: Trink Beta Testing... Now open! You can find y...".
          For more information, see Beta: Trinkets from Writing.Com 101 .

Embed Media Files in Books
          See the detailed tags available in "Embedding Photos and Media Files in Books.

Supported Text Emoticons and Override Tag:

*Angelic* = {e:Angelic} = O:-)   [uppercase letter O]
*Bigsmile* = {e:BigSmile} = :-D
*Cool* = {e:Cool} = B-)
*Geek* = {e:Geek} = 8-)
*Heart* = {e:Heart} = <3
*Pthb* = {e:Pthb} = :-P
*Frown* = {e:Sad} = :-(
*Smile* = {e:Smile} = :-)
*Shock* = {e:Shock} = :-o   [lowercase letter o]
*Shock2* = {e:Shock2} = :-O   [uppercase letter O]
*Wink* = {e:Wink} = ;-)

Override tag: {o} or {O}   [lowercase or uppercase letter O]
Place it after the eye character [or after the first character] of the text emoticon to keep the auto-replacement from occurring.
For more information, see "Note: Oh and now O:-) = {e:angelic} ..." and "Note: About chat and other things.... I just noticed ...".


Need More Help?
If you still have questions, visit "Technical Support Forum.1


Recommended Reading

Related and Recommended

Footnotes
1  Updated by northernwrites; written by The ScaryMaster and The StoryWitchress

© Copyright 2019 The StoryWitchress (UN: storymistress at Writing.Com). All rights reserved.
The StoryWitchress has granted Writing.Com, its affiliates and its syndicates non-exclusive rights to display this work.
Printed from https://www.writing.com/main/books/entry_id/101_writingml