{"id":72,"date":"2016-08-30T18:06:15","date_gmt":"2016-08-30T18:06:15","guid":{"rendered":"https:\/\/openbook.ums.edu.my\/userguide\/chapter\/edit-content-with-the-visual-text-editors\/"},"modified":"2024-09-19T04:19:26","modified_gmt":"2024-09-19T04:19:26","slug":"edit-content-with-the-visual-text-editors","status":"publish","type":"chapter","link":"https:\/\/openbook.ums.edu.my\/userguide\/chapter\/edit-content-with-the-visual-text-editors\/","title":{"raw":"Edit Content with the Visual &amp; Text Editors","rendered":"Edit Content with the Visual &amp; Text Editors"},"content":{"raw":"When writing and editing your book in Pressbooks, you can choose between a default \"Visual Editor\" which displays your content with shows you much of the styling and formatting you have applied or a \"Text Editor\" which displays the full HTML structure of your content without any CSS applied.\n<h1><a id=\"visualeditortoolbar\" href=\"\"><\/a>Use the Visual Editor<\/h1>\nThe visual editor is the default editor. It is a WYSIWYG (What You See Is What You Get) interface that allows you to see styling and formatting as they are applied. This interface also includes a toolbar that the top of the editor. The visual editor toolbar displays all formatting options by default. You can collapse the second and third rows of tools by clicking the Toolbar toggle button (Shift + Alt + Z) and can move into a 'Distraction-free writing mode' by pressing 'Shift + Alt + W'.\n\nTo shift focus to inline toolbar when an image, link, or preview is selected, press 'Alt + F8`' (fn + F8 on a Mac); to shift focus to the visual editor menu, press 'Alt + F9' (fn + F9 on a Mac); to shift focus to the visual editor toolbar, press 'Alt + F10' (fn + F10 on a Mac); and to shift focus to the elements path, press 'Alt + F11' (fn + F11 on a Mac). You can also view a set of Keyboard Shortcuts for various keys in the visual editor by pressing 'Shift + Alt + H'.\n\n<img class=\"alignnone size-full wp-image-200\" src=\"https:\/\/pressbooks.pub\/app\/uploads\/sites\/4748\/2012\/07\/Screen-Shot-2019-03-06-at-10.33.09-AM-1.png\" alt=\"Visual editor toolbar with tools numbered\" width=\"731\" height=\"225\">\n<h2>Visual toolbar options:<\/h2>\nTop row:\n<ol>\n \t<li>Paragraph styles dropdown menu: choose from normal paragraph style (Shift + Alt + 7), six different heading styles (Shift + Alt + 1-6), or preformatted text<\/li>\n \t<li><strong>Bold <\/strong>(Ctrl + B)<\/li>\n \t<li><em>Italics\u00a0<\/em>(Ctrl + I)<\/li>\n \t<li>Unordered (bulleted) list (Shift + Alt + U)<\/li>\n \t<li>Ordered (numbered) list (Shift + Alt + O)<\/li>\n \t<li>Blockquote (Shift + Alt + Q)<\/li>\n \t<li>Left-align (Shift + Alt + L)<\/li>\n \t<li>Center-align (Shift + Alt + C)<\/li>\n \t<li>Right-align (Shift + Alt + R)<\/li>\n \t<li><a href=\"#haha\">Link<\/a> (Ctrl + K)<\/li>\n \t<li>Read more (Shift + Alt + T)<\/li>\n \t<li>Toolbar toggle (Shift + Alt + Z)<\/li>\n<\/ol>\nSecond row:\n<ol start=\"13\">\n \t<li>Formats dropdown menu: choose from several text indent and tracking options, as well as pullquote options<\/li>\n \t<li>Textboxes dropdown menu: choose from a variety of plain textboxes or predesign educational textboxes (read more <a href=\"https:\/\/pressbooks.pub\/guide\/chapter\/tables-and-textboxes\/\">here<\/a>)<\/li>\n \t<li><span style=\"text-decoration: underline;\">Underline<\/span> (Ctrl + U)<\/li>\n \t<li><del>Strikethrough<\/del>\u00a0(Shift + Alt + D)<\/li>\n \t<li>Horizontal line<\/li>\n \t<li>Justify (Shift + Alt + J)<\/li>\n \t<li><span style=\"color: #3366ff;\">Text color<\/span><\/li>\n \t<li><span style=\"background-color: #ccffcc;\">Text background color<\/span><\/li>\n \t<li>Paste as text<\/li>\n \t<li>Clear formatting<\/li>\n \t<li>Special character<\/li>\n \t<li>Decrease indent<\/li>\n \t<li>Increase indent<\/li>\n \t<li>Undo (Ctrl + Z) and Redo (Ctrl + Y)<\/li>\n \t<li>Keyboard shortcuts guide (Shift + Alt + H)<\/li>\n<\/ol>\nBottom row:\n<ol start=\"28\">\n \t<li>Tables (read more <a href=\"https:\/\/pressbooks.pub\/guide\/chapter\/create-tables\/\">here<\/a>)<\/li>\n \t<li>Apply Class<\/li>\n \t<li><a id=\"haha\" href=\"\"><\/a>Anchor<\/li>\n \t<li>Super<sup>script<\/sup><\/li>\n \t<li>Sub<sub>script<\/sub><\/li>\n \t<li><code>Code<\/code> (Shift + Alt + X)<\/li>\n \t<li>Footnote[footnote]This is an example of a footnote.[\/footnote]<\/li>\n \t<li>Convert Microsoft Word footnotes<\/li>\n \t<li>LaTeX shortcode<\/li>\n \t<li>Glossary [pb_glossary id=\"132\"]Term[\/pb_glossary]<\/li>\n<\/ol>\nYou can highlight a section of existing content and then click a tool on the toolbar to add formatting to that section. Alternatively, select the tool first, and then add new formatted content.\n<h1><a id=\"texteditortoolbar\" href=\"\"><\/a>Use the Text Editor<\/h1>\nYou can also choose to work in a text editor, or switch to it as necessary as needed (to clean up messy HTML for example). The text editor allows you to directly view and edit your book's HTML content as HTML.\n<h2>Text Editor Options<\/h2>\nThe text editor toolbar offers fewer options, tailored to working in HTML. None of the buttons in the HTML editor have keyboard shortcuts, but their functionality is detailed below.\n\n<img class=\"alignnone wp-image-201 size-full\" src=\"https:\/\/pressbooks.pub\/app\/uploads\/sites\/4748\/2022\/10\/Screen-Shot-2019-06-03-at-5.09.24-PM-1-e1633661960234.png\" alt=\"The text editor and its toolbar\" width=\"646\" height=\"152\">\n<ol>\n \t<li>Open and close <code>&lt;strong&gt;<\/code> tags to make text bold (click once to open, and again to close the tag)<\/li>\n \t<li>Open and close <code>&lt;em&gt;<\/code> tags to make text italics<\/li>\n \t<li>Insert Link text (a pop up will appear)<\/li>\n \t<li>Insert <code>&lt;blockquote&gt;<\/code> tags<\/li>\n \t<li>Strikethrough text (<code>&lt;del&gt;<\/code> tags)<\/li>\n \t<li>Insert a date\/time tag<\/li>\n \t<li>Insert an image (from URL)<\/li>\n \t<li>Insert an unordered (bulleted) list<\/li>\n \t<li>Insert a ordered (numbered) list<\/li>\n \t<li>Add list item<\/li>\n \t<li>Open and close <code>&lt;code&gt;<\/code> tags<\/li>\n \t<li>Insert a 'Read More' tag <code>(&lt;!--more--&gt;)<\/code><\/li>\n \t<li>Close tags (automatically closes any open tags)<\/li>\n \t<li>Insert footnote shortcode<\/li>\n<\/ol>\n<h1>HTML Basics<\/h1>\nPressbooks is designed to make it easy for you to create attractive webbooks and export files without knowing much about book design or web development. Our ability to do this, however, is constrained in many ways by the quality of the underlying 'markup' in your book. Pressbooks uses <strong>H<\/strong>yper<strong>T<\/strong>ext <strong>M<\/strong>arkup <strong>L<\/strong>anguage [HTML] to provide the content and structure of your book and <strong>C<\/strong>ascading <strong>S<\/strong>tyle <strong>S<\/strong>heets (CSS) to apply the styles that control the appearance of your webbook and export files. You don't need to know HTML or CSS to use Pressbooks, but understanding a little bit about how they work will help make sure your books look good when you export from Pressbooks.\n<div class=\"textbox\"><strong>NOTE:<\/strong> Pressbooks' visual editor allows you to write your book and apply several style choices without ever seeing any of your book's underlying HTML. If you've find that you have formatting problems with your output, however, it's almost always caused by problems with your book's underlying markup.<\/div>\n<span style=\"text-align: initial; font-size: 1em;\">Here is a brief passage of text with some formatting:<\/span>\n<div class=\"textbox\">A long, <em>long<\/em> time ago, in a galaxy far, far away, there lived a fine young man <strong>unaware<\/strong> of various things about his past.<\/div>\nThis is what you might write into the VISUAL editor of Pressbooks. But if you look at the TEXT editor, you'll see that the way that <em>italic <\/em>and <strong>bold <\/strong>is achieved is through \"markup\", or HTML. So the markup of that text looks like:\n<div class=\"textbox\"><code>A long, &lt;em&gt;long&lt;\/em&gt; time ago, in a galaxy far, far away, there lived a fine young man &lt;strong&gt;unaware&lt;\/strong&gt; of various things about his past.<\/code><\/div>\nThe <em>&lt;em&gt;tag&lt;\/em&gt;<\/em> specifies that a text should be italicized. The <strong>&lt;strong&gt;tag&lt;\/strong&gt; <\/strong>specifies that it should be bold.\n\nA reader reading an ebook, or a print book, or a web page won't see those tags. They are instead used to tell the ebook software, or browser, how those words should look. In addition to the em and strong tags, there are a handful of other basic HTML tags you should know about:\n<table style=\"font-size: 0.8em; height: 158px;\">\n<thead>\n<tr style=\"height: 14px;\">\n<td style=\"height: 14px; width: 84.2344px;\"><strong>tag name<\/strong><\/td>\n<td style=\"height: 14px; width: 437.328px;\"><strong>used for<\/strong><\/td>\n<td style=\"height: 14px; width: 243.984px;\"><strong>\u00a0tags<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 16px;\">\n<td style=\"height: 16px; width: 84.2344px;\">strong<\/td>\n<td style=\"height: 16px; width: 437.328px;\">used to make text bold<\/td>\n<td style=\"height: 16px; width: 243.984px;\"><code>&lt;strong&gt; \u00a0or &lt;b&gt;<\/code><\/td>\n<\/tr>\n<tr style=\"height: 16px;\">\n<td style=\"height: 16px; width: 84.2344px;\">emphasis<\/td>\n<td style=\"height: 16px; width: 437.328px;\">used to make text italic<\/td>\n<td style=\"height: 16px; width: 243.984px;\"><code>&lt;em&gt; or &lt;i&gt;<\/code><\/td>\n<\/tr>\n<tr style=\"height: 16px;\">\n<td style=\"height: 16px; width: 84.2344px;\">blockquote<\/td>\n<td style=\"height: 16px; width: 437.328px;\">used to quote a long text, can be used for instance for a letter, a poem etc<\/td>\n<td style=\"height: 16px; width: 243.984px;\"><code>&lt;blockquote&gt;<\/code><\/td>\n<\/tr>\n<tr style=\"height: 16px;\">\n<td style=\"height: 16px; width: 84.2344px;\">unordered list<\/td>\n<td style=\"height: 16px; width: 437.328px;\">used to create a list with bullets<\/td>\n<td style=\"height: 16px; width: 243.984px;\"><code>&lt;ul&gt;&lt;li&gt;item 1&lt;\/li&gt;&lt;li&gt;item 2&lt;\/li&gt;&lt;\/ul&gt;<\/code><\/td>\n<\/tr>\n<tr style=\"height: 64px;\">\n<td style=\"height: 64px; width: 84.2344px;\">ordered list<\/td>\n<td style=\"height: 64px; width: 437.328px;\">used to create a numbered list<\/td>\n<td style=\"height: 64px; width: 243.984px;\"><code>\u00a0&lt;ol&gt;\n&lt;li&gt;item 1&lt;\/li&gt;\n&lt;li&gt;item 2&lt;\/li&gt;\n&lt;\/ol&gt;<\/code><\/td>\n<\/tr>\n<tr style=\"height: 16px;\">\n<td style=\"height: 16px; width: 84.2344px;\">headings<\/td>\n<td style=\"height: 16px; width: 437.328px;\">used to make headings in your document<\/td>\n<td style=\"height: 16px; width: 243.984px;\"><code>&lt;h1&gt;, &lt;h2&gt;, &lt;h3&gt; ... &lt;\/h6&gt;<\/code><\/td>\n<\/tr>\n<\/thead>\n<\/table>\nHere is an extended version of the text from above with more HTML tags:\n<div class=\"textbox\">\n<h3>The Background<\/h3>\nA long,\u00a0<em>long<\/em>\u00a0time ago, in a galaxy far, far away, there lived a fine young man\u00a0<strong>unaware<\/strong>\u00a0of various things about his past, including:\n<ul>\n \t<li>the Force<\/li>\n \t<li>what his father was up to<\/li>\n \t<li>how to use a lightsaber.<\/li>\n<\/ul>\nAll that, however, was about to change.\u00a0Three things were about to happen:\n<ol>\n \t<li>he would discover the Force<\/li>\n \t<li>he would learn how to use a lightsaber, and<\/li>\n \t<li>he would meet his father.<\/li>\n<\/ol>\n<h3>The Update<\/h3>\nLong after this fellow lived, a famous movie was made about his life. The movie was shot in Tunisia.\n\n<\/div>\nHere is that text with markup:\n<div class=\"textbox\">\n\n<code>&lt;h3&gt;The Background&lt;\/h3&gt;\nA long,\u00a0&lt;em&gt;long&lt;\/em&gt;\u00a0time ago, in a galaxy far, far away, there lived a fine young man\u00a0&lt;strong&gt;unaware&lt;\/strong&gt;\u00a0of various things about his past, including:\n&lt;ul&gt;\n&lt;li&gt;the Force&lt;\/li&gt;\n&lt;li&gt;what his father was up to&lt;\/li&gt;\n&lt;li&gt;how to use a lightsaber.&lt;\/li&gt;\n&lt;\/ul&gt;\nAll that, however, was about to change.\u00a0<\/code>\n\n<code>Three things were about to happen:<\/code>\n\n<code>&lt;ol&gt;\n&lt;li&gt;he would discover the Force&lt;\/li&gt;\n&lt;li&gt;he would learn how to use a lightsaber, and&lt;\/li&gt;\n&lt;li&gt;he would meet his father.&lt;\/li&gt;\n&lt;\/ol&gt;<\/code>\n\n<code>\n&lt;h3&gt;The Update&lt;\/h3&gt;\nLong after this fellow lived, a famous movie was made about his life. The movie was shot in Tunisia.<\/code>\n\n<\/div>\n<h1>Write in Markdown<\/h1>\n<div class=\"textbox\"><strong>NOTE: <\/strong>We strongly recommend saving changes to existing content before enabling the Markdown editor, as unsupported elements will be removed when converting existing HTML content to Markdown.<strong>\u00a0<\/strong><\/div>\nUsers who prefer to write using Markdown can do so by activating the Parsedown Party plugin in their book. In networks where this plugin is installed and book admins are able to activate plugins, you can enable a Markdown editor in your book by doing the following:\n<ol>\n \t<li>Click <strong>Plugins\u00a0<\/strong>from the left sidebar menu of your book's dashboard<\/li>\n \t<li>Click\u00a0<strong>Activate\u00a0<\/strong>on the Parsedown Party plugin\n<img class=\"alignnone size-full wp-image-2119\" src=\"https:\/\/pressbooks.pub\/app\/uploads\/sites\/4748\/2022\/10\/markdown2.png\" alt=\"The Activate link is underneath &quot;Parsedown party&quot; on the Plugins page\" width=\"677\" height=\"211\"><\/li>\n \t<li>Open the visual editor for a chapter in your book that you'd like to use Markdown in<\/li>\n \t<li>Click '<strong>Enable<\/strong>' next to the '<strong>Markdown<\/strong>' option in the '<strong>Status &amp; Visibility<\/strong>' menu.<img class=\"size-full wp-image-2120 alignnone\" src=\"https:\/\/pressbooks.pub\/app\/uploads\/sites\/4748\/2022\/10\/markdown3.png\" alt=\"Enable markdown at the bottom of the Status &amp; Visibility menu in the chapter editor interface.\" width=\"279\" height=\"392\"><\/li>\n<\/ol>\nThe visual\/text editor interface will now be replaced by a simple Markdown-based editor. You can revert the default visual\/text editor interface by clicking the <strong>Disable\u00a0<\/strong>button next to\u00a0the<strong> Markdown <\/strong>option in the\u00a0<strong>Status &amp; Visibility\u00a0<\/strong>menu.\n<div class=\"textbox shaded\"><strong>Note:\u00a0<\/strong>The Parsedown Party plugin is not available on the Pressbooks.com network. Please contact your network manager if you are creating your book on another Pressbooks network and do not see the plugin menu or the Parsedown Party plugin in your book,<\/div>","rendered":"<p>When writing and editing your book in Pressbooks, you can choose between a default &#8220;Visual Editor&#8221; which displays your content with shows you much of the styling and formatting you have applied or a &#8220;Text Editor&#8221; which displays the full HTML structure of your content without any CSS applied.<\/p>\n<h1><a id=\"visualeditortoolbar\" href=\"\"><\/a>Use the Visual Editor<\/h1>\n<p>The visual editor is the default editor. It is a WYSIWYG (What You See Is What You Get) interface that allows you to see styling and formatting as they are applied. This interface also includes a toolbar that the top of the editor. The visual editor toolbar displays all formatting options by default. You can collapse the second and third rows of tools by clicking the Toolbar toggle button (Shift + Alt + Z) and can move into a &#8216;Distraction-free writing mode&#8217; by pressing &#8216;Shift + Alt + W&#8217;.<\/p>\n<p>To shift focus to inline toolbar when an image, link, or preview is selected, press &#8216;Alt + F8`&#8217; (fn + F8 on a Mac); to shift focus to the visual editor menu, press &#8216;Alt + F9&#8217; (fn + F9 on a Mac); to shift focus to the visual editor toolbar, press &#8216;Alt + F10&#8217; (fn + F10 on a Mac); and to shift focus to the elements path, press &#8216;Alt + F11&#8217; (fn + F11 on a Mac). You can also view a set of Keyboard Shortcuts for various keys in the visual editor by pressing &#8216;Shift + Alt + H&#8217;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-200\" src=\"https:\/\/pressbooks.pub\/app\/uploads\/sites\/4748\/2012\/07\/Screen-Shot-2019-03-06-at-10.33.09-AM-1.png\" alt=\"Visual editor toolbar with tools numbered\" width=\"731\" height=\"225\" \/><\/p>\n<h2>Visual toolbar options:<\/h2>\n<p>Top row:<\/p>\n<ol>\n<li>Paragraph styles dropdown menu: choose from normal paragraph style (Shift + Alt + 7), six different heading styles (Shift + Alt + 1-6), or preformatted text<\/li>\n<li><strong>Bold <\/strong>(Ctrl + B)<\/li>\n<li><em>Italics\u00a0<\/em>(Ctrl + I)<\/li>\n<li>Unordered (bulleted) list (Shift + Alt + U)<\/li>\n<li>Ordered (numbered) list (Shift + Alt + O)<\/li>\n<li>Blockquote (Shift + Alt + Q)<\/li>\n<li>Left-align (Shift + Alt + L)<\/li>\n<li>Center-align (Shift + Alt + C)<\/li>\n<li>Right-align (Shift + Alt + R)<\/li>\n<li><a href=\"#haha\">Link<\/a> (Ctrl + K)<\/li>\n<li>Read more (Shift + Alt + T)<\/li>\n<li>Toolbar toggle (Shift + Alt + Z)<\/li>\n<\/ol>\n<p>Second row:<\/p>\n<ol start=\"13\">\n<li>Formats dropdown menu: choose from several text indent and tracking options, as well as pullquote options<\/li>\n<li>Textboxes dropdown menu: choose from a variety of plain textboxes or predesign educational textboxes (read more <a href=\"https:\/\/pressbooks.pub\/guide\/chapter\/tables-and-textboxes\/\">here<\/a>)<\/li>\n<li><span style=\"text-decoration: underline;\">Underline<\/span> (Ctrl + U)<\/li>\n<li><del>Strikethrough<\/del>\u00a0(Shift + Alt + D)<\/li>\n<li>Horizontal line<\/li>\n<li>Justify (Shift + Alt + J)<\/li>\n<li><span style=\"color: #3366ff;\">Text color<\/span><\/li>\n<li><span style=\"background-color: #ccffcc;\">Text background color<\/span><\/li>\n<li>Paste as text<\/li>\n<li>Clear formatting<\/li>\n<li>Special character<\/li>\n<li>Decrease indent<\/li>\n<li>Increase indent<\/li>\n<li>Undo (Ctrl + Z) and Redo (Ctrl + Y)<\/li>\n<li>Keyboard shortcuts guide (Shift + Alt + H)<\/li>\n<\/ol>\n<p>Bottom row:<\/p>\n<ol start=\"28\">\n<li>Tables (read more <a href=\"https:\/\/pressbooks.pub\/guide\/chapter\/create-tables\/\">here<\/a>)<\/li>\n<li>Apply Class<\/li>\n<li><a id=\"haha\" href=\"\"><\/a>Anchor<\/li>\n<li>Super<sup>script<\/sup><\/li>\n<li>Sub<sub>script<\/sub><\/li>\n<li><code>Code<\/code> (Shift + Alt + X)<\/li>\n<li>Footnote<a class=\"footnote\" title=\"This is an example of a footnote.\" id=\"return-footnote-72-1\" href=\"#footnote-72-1\" aria-label=\"Footnote 1\"><sup class=\"footnote\">[1]<\/sup><\/a><\/li>\n<li>Convert Microsoft Word footnotes<\/li>\n<li>LaTeX shortcode<\/li>\n<li>Glossary <a class=\"glossary-term\" aria-haspopup=\"dialog\" aria-describedby=\"definition\" href=\"#term_72_132\">Term<\/a><\/li>\n<\/ol>\n<p>You can highlight a section of existing content and then click a tool on the toolbar to add formatting to that section. Alternatively, select the tool first, and then add new formatted content.<\/p>\n<h1><a id=\"texteditortoolbar\" href=\"\"><\/a>Use the Text Editor<\/h1>\n<p>You can also choose to work in a text editor, or switch to it as necessary as needed (to clean up messy HTML for example). The text editor allows you to directly view and edit your book&#8217;s HTML content as HTML.<\/p>\n<h2>Text Editor Options<\/h2>\n<p>The text editor toolbar offers fewer options, tailored to working in HTML. None of the buttons in the HTML editor have keyboard shortcuts, but their functionality is detailed below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-201 size-full\" src=\"https:\/\/pressbooks.pub\/app\/uploads\/sites\/4748\/2022\/10\/Screen-Shot-2019-06-03-at-5.09.24-PM-1-e1633661960234.png\" alt=\"The text editor and its toolbar\" width=\"646\" height=\"152\" \/><\/p>\n<ol>\n<li>Open and close <code>&lt;strong&gt;<\/code> tags to make text bold (click once to open, and again to close the tag)<\/li>\n<li>Open and close <code>&lt;em&gt;<\/code> tags to make text italics<\/li>\n<li>Insert Link text (a pop up will appear)<\/li>\n<li>Insert <code>&lt;blockquote&gt;<\/code> tags<\/li>\n<li>Strikethrough text (<code>&lt;del&gt;<\/code> tags)<\/li>\n<li>Insert a date\/time tag<\/li>\n<li>Insert an image (from URL)<\/li>\n<li>Insert an unordered (bulleted) list<\/li>\n<li>Insert a ordered (numbered) list<\/li>\n<li>Add list item<\/li>\n<li>Open and close <code>&lt;code&gt;<\/code> tags<\/li>\n<li>Insert a &#8216;Read More&#8217; tag <code>(&lt;!--more--&gt;)<\/code><\/li>\n<li>Close tags (automatically closes any open tags)<\/li>\n<li>Insert footnote shortcode<\/li>\n<\/ol>\n<h1>HTML Basics<\/h1>\n<p>Pressbooks is designed to make it easy for you to create attractive webbooks and export files without knowing much about book design or web development. Our ability to do this, however, is constrained in many ways by the quality of the underlying &#8216;markup&#8217; in your book. Pressbooks uses <strong>H<\/strong>yper<strong>T<\/strong>ext <strong>M<\/strong>arkup <strong>L<\/strong>anguage [HTML] to provide the content and structure of your book and <strong>C<\/strong>ascading <strong>S<\/strong>tyle <strong>S<\/strong>heets (CSS) to apply the styles that control the appearance of your webbook and export files. You don&#8217;t need to know HTML or CSS to use Pressbooks, but understanding a little bit about how they work will help make sure your books look good when you export from Pressbooks.<\/p>\n<div class=\"textbox\"><strong>NOTE:<\/strong> Pressbooks&#8217; visual editor allows you to write your book and apply several style choices without ever seeing any of your book&#8217;s underlying HTML. If you&#8217;ve find that you have formatting problems with your output, however, it&#8217;s almost always caused by problems with your book&#8217;s underlying markup.<\/div>\n<p><span style=\"text-align: initial; font-size: 1em;\">Here is a brief passage of text with some formatting:<\/span><\/p>\n<div class=\"textbox\">A long, <em>long<\/em> time ago, in a galaxy far, far away, there lived a fine young man <strong>unaware<\/strong> of various things about his past.<\/div>\n<p>This is what you might write into the VISUAL editor of Pressbooks. But if you look at the TEXT editor, you&#8217;ll see that the way that <em>italic <\/em>and <strong>bold <\/strong>is achieved is through &#8220;markup&#8221;, or HTML. So the markup of that text looks like:<\/p>\n<div class=\"textbox\"><code>A long, &lt;em&gt;long&lt;\/em&gt; time ago, in a galaxy far, far away, there lived a fine young man &lt;strong&gt;unaware&lt;\/strong&gt; of various things about his past.<\/code><\/div>\n<p>The <em>&lt;em&gt;tag&lt;\/em&gt;<\/em> specifies that a text should be italicized. The <strong>&lt;strong&gt;tag&lt;\/strong&gt; <\/strong>specifies that it should be bold.<\/p>\n<p>A reader reading an ebook, or a print book, or a web page won&#8217;t see those tags. They are instead used to tell the ebook software, or browser, how those words should look. In addition to the em and strong tags, there are a handful of other basic HTML tags you should know about:<\/p>\n<table style=\"font-size: 0.8em; height: 158px;\">\n<thead>\n<tr style=\"height: 14px;\">\n<td style=\"height: 14px; width: 84.2344px;\"><strong>tag name<\/strong><\/td>\n<td style=\"height: 14px; width: 437.328px;\"><strong>used for<\/strong><\/td>\n<td style=\"height: 14px; width: 243.984px;\"><strong>\u00a0tags<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 16px;\">\n<td style=\"height: 16px; width: 84.2344px;\">strong<\/td>\n<td style=\"height: 16px; width: 437.328px;\">used to make text bold<\/td>\n<td style=\"height: 16px; width: 243.984px;\"><code>&lt;strong&gt; \u00a0or &lt;b&gt;<\/code><\/td>\n<\/tr>\n<tr style=\"height: 16px;\">\n<td style=\"height: 16px; width: 84.2344px;\">emphasis<\/td>\n<td style=\"height: 16px; width: 437.328px;\">used to make text italic<\/td>\n<td style=\"height: 16px; width: 243.984px;\"><code>&lt;em&gt; or &lt;i&gt;<\/code><\/td>\n<\/tr>\n<tr style=\"height: 16px;\">\n<td style=\"height: 16px; width: 84.2344px;\">blockquote<\/td>\n<td style=\"height: 16px; width: 437.328px;\">used to quote a long text, can be used for instance for a letter, a poem etc<\/td>\n<td style=\"height: 16px; width: 243.984px;\"><code>&lt;blockquote&gt;<\/code><\/td>\n<\/tr>\n<tr style=\"height: 16px;\">\n<td style=\"height: 16px; width: 84.2344px;\">unordered list<\/td>\n<td style=\"height: 16px; width: 437.328px;\">used to create a list with bullets<\/td>\n<td style=\"height: 16px; width: 243.984px;\"><code>&lt;ul&gt;&lt;li&gt;item 1&lt;\/li&gt;&lt;li&gt;item 2&lt;\/li&gt;&lt;\/ul&gt;<\/code><\/td>\n<\/tr>\n<tr style=\"height: 64px;\">\n<td style=\"height: 64px; width: 84.2344px;\">ordered list<\/td>\n<td style=\"height: 64px; width: 437.328px;\">used to create a numbered list<\/td>\n<td style=\"height: 64px; width: 243.984px;\"><code>\u00a0&lt;ol&gt;<br \/>\n&lt;li&gt;item 1&lt;\/li&gt;<br \/>\n&lt;li&gt;item 2&lt;\/li&gt;<br \/>\n&lt;\/ol&gt;<\/code><\/td>\n<\/tr>\n<tr style=\"height: 16px;\">\n<td style=\"height: 16px; width: 84.2344px;\">headings<\/td>\n<td style=\"height: 16px; width: 437.328px;\">used to make headings in your document<\/td>\n<td style=\"height: 16px; width: 243.984px;\"><code>&lt;h1&gt;, &lt;h2&gt;, &lt;h3&gt; ... &lt;\/h6&gt;<\/code><\/td>\n<\/tr>\n<\/thead>\n<\/table>\n<p>Here is an extended version of the text from above with more HTML tags:<\/p>\n<div class=\"textbox\">\n<h3>The Background<\/h3>\n<p>A long,\u00a0<em>long<\/em>\u00a0time ago, in a galaxy far, far away, there lived a fine young man\u00a0<strong>unaware<\/strong>\u00a0of various things about his past, including:<\/p>\n<ul>\n<li>the Force<\/li>\n<li>what his father was up to<\/li>\n<li>how to use a lightsaber.<\/li>\n<\/ul>\n<p>All that, however, was about to change.\u00a0Three things were about to happen:<\/p>\n<ol>\n<li>he would discover the Force<\/li>\n<li>he would learn how to use a lightsaber, and<\/li>\n<li>he would meet his father.<\/li>\n<\/ol>\n<h3>The Update<\/h3>\n<p>Long after this fellow lived, a famous movie was made about his life. The movie was shot in Tunisia.<\/p>\n<\/div>\n<p>Here is that text with markup:<\/p>\n<div class=\"textbox\">\n<p><code>&lt;h3&gt;The Background&lt;\/h3&gt;<br \/>\nA long,\u00a0&lt;em&gt;long&lt;\/em&gt;\u00a0time ago, in a galaxy far, far away, there lived a fine young man\u00a0&lt;strong&gt;unaware&lt;\/strong&gt;\u00a0of various things about his past, including:<br \/>\n&lt;ul&gt;<br \/>\n&lt;li&gt;the Force&lt;\/li&gt;<br \/>\n&lt;li&gt;what his father was up to&lt;\/li&gt;<br \/>\n&lt;li&gt;how to use a lightsaber.&lt;\/li&gt;<br \/>\n&lt;\/ul&gt;<br \/>\nAll that, however, was about to change.\u00a0<\/code><\/p>\n<p><code>Three things were about to happen:<\/code><\/p>\n<p><code>&lt;ol&gt;<br \/>\n&lt;li&gt;he would discover the Force&lt;\/li&gt;<br \/>\n&lt;li&gt;he would learn how to use a lightsaber, and&lt;\/li&gt;<br \/>\n&lt;li&gt;he would meet his father.&lt;\/li&gt;<br \/>\n&lt;\/ol&gt;<\/code><\/p>\n<p><code><br \/>\n&lt;h3&gt;The Update&lt;\/h3&gt;<br \/>\nLong after this fellow lived, a famous movie was made about his life. The movie was shot in Tunisia.<\/code><\/p>\n<\/div>\n<h1>Write in Markdown<\/h1>\n<div class=\"textbox\"><strong>NOTE: <\/strong>We strongly recommend saving changes to existing content before enabling the Markdown editor, as unsupported elements will be removed when converting existing HTML content to Markdown.<strong>\u00a0<\/strong><\/div>\n<p>Users who prefer to write using Markdown can do so by activating the Parsedown Party plugin in their book. In networks where this plugin is installed and book admins are able to activate plugins, you can enable a Markdown editor in your book by doing the following:<\/p>\n<ol>\n<li>Click <strong>Plugins\u00a0<\/strong>from the left sidebar menu of your book&#8217;s dashboard<\/li>\n<li>Click\u00a0<strong>Activate\u00a0<\/strong>on the Parsedown Party plugin<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2119\" src=\"https:\/\/pressbooks.pub\/app\/uploads\/sites\/4748\/2022\/10\/markdown2.png\" alt=\"The Activate link is underneath &quot;Parsedown party&quot; on the Plugins page\" width=\"677\" height=\"211\" \/><\/li>\n<li>Open the visual editor for a chapter in your book that you&#8217;d like to use Markdown in<\/li>\n<li>Click &#8216;<strong>Enable<\/strong>&#8216; next to the &#8216;<strong>Markdown<\/strong>&#8216; option in the &#8216;<strong>Status &amp; Visibility<\/strong>&#8216; menu.<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2120 alignnone\" src=\"https:\/\/pressbooks.pub\/app\/uploads\/sites\/4748\/2022\/10\/markdown3.png\" alt=\"Enable markdown at the bottom of the Status &amp; Visibility menu in the chapter editor interface.\" width=\"279\" height=\"392\" \/><\/li>\n<\/ol>\n<p>The visual\/text editor interface will now be replaced by a simple Markdown-based editor. You can revert the default visual\/text editor interface by clicking the <strong>Disable\u00a0<\/strong>button next to\u00a0the<strong> Markdown <\/strong>option in the\u00a0<strong>Status &amp; Visibility\u00a0<\/strong>menu.<\/p>\n<div class=\"textbox shaded\"><strong>Note:\u00a0<\/strong>The Parsedown Party plugin is not available on the Pressbooks.com network. Please contact your network manager if you are creating your book on another Pressbooks network and do not see the plugin menu or the Parsedown Party plugin in your book,<\/div>\n<hr class=\"before-footnotes clear\" \/><div class=\"footnotes\"><ol><li id=\"footnote-72-1\">This is an example of a footnote. <a href=\"#return-footnote-72-1\" class=\"return-footnote\" aria-label=\"Return to footnote 1\">&crarr;<\/a><\/li><\/ol><\/div><div class=\"glossary\"><span class=\"screen-reader-text\" id=\"definition\">definition<\/span><template id=\"term_72_132\"><div class=\"glossary__definition\" role=\"dialog\" data-id=\"term_72_132\"><div tabindex=\"-1\"><p>An example of a glossary term tooltip added to your webbook from the visual editor toolbar.<\/p>\n<\/div><button><span aria-hidden=\"true\">&times;<\/span><span class=\"screen-reader-text\">Close definition<\/span><\/button><\/div><\/template><\/div>","protected":false},"author":1,"menu_order":10,"template":"","meta":{"pb_show_title":"","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-72","chapter","type-chapter","status-publish","hentry"],"part":53,"_links":{"self":[{"href":"https:\/\/openbook.ums.edu.my\/userguide\/wp-json\/pressbooks\/v2\/chapters\/72","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/openbook.ums.edu.my\/userguide\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/openbook.ums.edu.my\/userguide\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/openbook.ums.edu.my\/userguide\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":2,"href":"https:\/\/openbook.ums.edu.my\/userguide\/wp-json\/pressbooks\/v2\/chapters\/72\/revisions"}],"predecessor-version":[{"id":136,"href":"https:\/\/openbook.ums.edu.my\/userguide\/wp-json\/pressbooks\/v2\/chapters\/72\/revisions\/136"}],"part":[{"href":"https:\/\/openbook.ums.edu.my\/userguide\/wp-json\/pressbooks\/v2\/parts\/53"}],"metadata":[{"href":"https:\/\/openbook.ums.edu.my\/userguide\/wp-json\/pressbooks\/v2\/chapters\/72\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/openbook.ums.edu.my\/userguide\/wp-json\/wp\/v2\/media?parent=72"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/openbook.ums.edu.my\/userguide\/wp-json\/pressbooks\/v2\/chapter-type?post=72"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/openbook.ums.edu.my\/userguide\/wp-json\/wp\/v2\/contributor?post=72"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/openbook.ums.edu.my\/userguide\/wp-json\/wp\/v2\/license?post=72"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}