Professional publishing with UberWriter
Working with Markdown in UberWriter
Writing text in Markdown is really very simple with the editor. Headers are identified by a preceding hashtag followed by a blank line:
# First-level heading
## A headline in outline level 2
### And a third-level heading
The deeper you delve into the topic of Markdown, the more you will find that UberWriter correctly interprets any conceivable entry and also emphasizes the appropriate formatting in the text, which facilitates working with the commands. In the Format menu, you will see that some important formats have already been created with short forms. For bold and italic text, you just press a button. This approach also works with preselected entries. A shortcut is also available for lists. Enumerations are created by prepending a digit. They don't even need to be numbered consecutively. Markdown takes care of this itself:
This is **bold text**. For *italics*, one asterisk is sufficient. - Item in a bullet list - Second item 2. Enumerated entry 3. This is also part of the enumeration
One of the most important goals for Markdown formats is HTML documents. To that extent, it is hardly surprising that code is also provided for writing links. Markdown supports two approaches, and both of them are also supported by UberWriter:
[Linktext](http://www.domain.tld) [Linktext][1] [1]: http://www.domain.tld
The second link option, in particular, facilitates orientation in texts with many links, thus providing a good overview.
Viewing Results
When entering text, typos tend to sneak in, and working with Markdown in UberWriter is no exception. Typos are most annoying if they occur when you are typing markup. To check the intermediate results of your work at any time, the program provides a built-in preview mode. Run View | Preview or use the keyboard shortcut Ctrl+P.
Your code is then evaluated and you can see the results of your work on the screen (Figure 2). If the text does not look as you expect, you can begin troubleshooting. In most cases, only something small has been forgotten, such as a blank line between paragraphs or the final character in a format.
Export Source Code – At High Speed
UberWriter does not rely directly on Markdown to export text; instead, it uses a converter that can handle a number of other formats. Like Markdown, Pandoc [2] is available not only for Linux but also for Windows and Mac. To export your source code quickly, you can choose between four formats. At the press of a button, you can copy your Markdown source code to the clipboard as HTML code. This feature is handy if you want to write the rest of your text with an editor like Writer and then transfer the results to an external system (e.g., with blog software like WordPress). In this case, you simply use the Copy raw HTML to clipboard command from the File menu.
In that same menu, you can save your text as HTML, as a PDF, or as an OpenOffice document. The difference between the exported version of the HTML file or HTML in the clipboard is not just that a file is stored on the system. In contrast to the clipboard version, the exported file contains a few more lines of code that are necessary for a browser to view the file as a valid HTML document.
To help you create PDF files, UberWriter relies on the TeX program. As a rule, this should work without any problems, even if the conversion takes a bit longer compared with other formats.
Selecting File | Advanced Export seems at first to do nothing more than bring up a dialog box with additional settings. However, the list box at the top of the window has a few tricks up its sleeve. In fact, it includes all the formats you can support with your text. Along with some items that are so technical that only experts will be interested in them, some of the formats facilitate an exchange with the Windows world. They include the MS Office .docx
format and Rich Text Format (.rtf
), which can basically be opened and written by any word processor on any current computer platform. The entries in the list correspond to the output formats supported by Pandoc itself. In other words, you could achieve the same results by running Pandoc with the appropriate switches and options directly in a terminal.
« Previous 1 2 3 Next »
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.
-
ZorinOS 17.1 Released, Includes Improved Windows App Support
If you need or desire to run Windows applications on Linux, there's one distribution intent on making that easier for you and its new release further improves that feature.
-
Linux Market Share Surpasses 4% for the First Time
Look out Windows and macOS, Linux is on the rise and has even topped ChromeOS to become the fourth most widely used OS around the globe.
-
KDE’s Plasma 6 Officially Available
KDE’s Plasma 6.0 "Megarelease" has happened, and it's brimming with new features, polish, and performance.
-
Latest Version of Tails Unleashed
Tails 6.0 is based on Debian 12 and includes GNOME 43.
-
KDE Announces New Slimbook V with Plenty of Power and KDE’s Plasma 6
If you're a fan of KDE Plasma, you'll be thrilled to hear they've announced a new Slimbook with an AMD CPU and the latest version of KDE Plasma desktop.
-
Monthly Sponsorship Includes Early Access to elementary OS 8
If you want to get a glimpse of what's in the pipeline for elementary OS 8, just set up a monthly sponsorship to help fund its continued existence.