Skip to main content

4 - Text

The Formatting toolbar, at the top of the editor, acts on the selection. Right click in the text opens the same choices, and more. Shift+right click keeps the browser's menu.

Bold, italic, underline, link

ActionKeyboard
BoldCtrl+B
ItalicCtrl+I
UnderlineCtrl+U
LinkCtrl+K
SuperscriptCtrl+Shift+=
SubscriptCtrl+=

Right click also offers Strikethrough, Inline code and Keyboard key.

It also offers Paste, which works like Ctrl+V: the same cleaning, the same reading of Markdown. The browser may ask for permission to read the clipboard. If it refuses, Markus asks you to paste with Ctrl+V.

Links

A link leads to a web address, an email, an article of the site or a menu page. For the last two, Markus opens Joomla's windows: a link to an article follows the article, even if its alias changes.

The link text must say where it leads: the check flags "click here" or "learn more". Open in a new tab is announced to screen readers, as accessibility rules require.

Colours

Text and background colours colours the selection, or the whole block without a selection. Highlight adds a highlight.

Offered first: the site's colours, which your template draws in light and dark mode. For any other colour, you only choose the hue: Markus computes the lightness so the text stays readable (at least 4.5:1), in light and dark mode. An unreadable colour cannot be chosen.

Remove the colours takes them off the selection or the block.

Cleaning

The Clean menu:

  • The selection, or the block of the cursor: removes bold, italic, colours, highlights and alignments. Links stay.
  • The whole article: the same on every text block. Headings, lists, links, tables, images and modules stay. Ctrl+Z undoes it.
  • Remove the empty paragraphs.
  • French typography: adds non-breaking spaces before ; : ! ? and inside French quotation marks. Never in code, a key, a link or a time.

Find and replace

The magnifying glass on the top bar, Ctrl+F, Ctrl+H or right click open a bar between the tools and the text. It all fits on one line: the text to find, the number of matches, the arrows, then the replacement text.

  • Enter goes to the next match, Shift+Enter to the previous one.
  • Three options: Match case (Alt+C), Whole word (Alt+W) and Regular expression (Alt+R; $1 brings a group back in the replacement). The browser remembers them.
  • Replace changes the match shown, Replace all changes them all. A single Ctrl+Z undoes either.
  • Escape closes the bar and leaves the cursor on the match shown.

A word split by bold is still found. Matches are highlighted on screen only: nothing is written into the article. The number of matches is announced to screen readers.

Line breaks and paragraphs

In a paragraph or a heading, each line break is shown by a small violet ↵ at the end of the line. This sign exists on screen only, never in the article. A click on it cuts there, into two paragraphs.

  • Split into paragraphs (Ctrl+Shift+Enter, or right click): each line of the block becomes a block of its own. The new blocks keep the settings of the first one, except its anchor.
  • Join to the paragraph above (Shift+Backspace at the start of a paragraph, or right click): the two texts follow each other, separated by a line break.

Ctrl+Z undoes either. On right click, these two lines only appear where they are useful.

Language of a passage

A word or a sentence in another language: select it, right click, Language of the passage. Screen readers will pronounce it in that language. Empty: the mark is removed.

Footnotes

Right click, Footnote: the number goes at the cursor and the note is added at the end of the article, ready to write. Each note has its Back to the text link. Numbers follow each other on their own.

Up to date for Markus 1.0.100.