<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Coder Legion - Recent posts tagged rakulang</title>
<link>https://coderlegion.com/tag/rakulang</link>
<description>Powered by Question2Answer</description>
<item>
<title>Using in-line markup in RakuDoc. Article 2</title>
<link>https://coderlegion.com/10187/using-in-line-markup-in-rakudoc-article-2</link>
<description>&lt;p&gt;This continues the series starting with &lt;a rel=&quot;nofollow&quot; href=&quot;https://coderlegion.com/9768/rakudoc-more-than-just-a-documentation-markup#cform&quot;&gt;RakuDoc more than ...&lt;/a&gt; The images here will be generated using the Docker container described in the first article. &lt;/p&gt;
&lt;p&gt;In this article I will be discussing some of the markup codes which can be used in a RakuDoc source. &lt;/p&gt;
&lt;p&gt;The next few articles planned will cover&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Block types, such header, formulas, paragraphs, indented paragraphs&lt;/li&gt;
&lt;li&gt;How to include images, and how to customise their placing. &lt;/li&gt;
&lt;li&gt;Some custom block types that are included with the Rakuast::RakuDoc::Renderer, but which are not specified in standard RakuDoc. &lt;/li&gt;
&lt;li&gt;Enumerations of blocks, that is creating numbered headings, items, code etc.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;update-of-browser-editor&quot;&gt;Update of browser editor&lt;/h3&gt;
&lt;p&gt;The browser editor container has been updated since the last article, and contains a new button. We will give an example of this below. However, it does require that your computer has an internet connection.&lt;/p&gt;
&lt;p&gt;As a reminder, the browser can be started (assuming &lt;code&gt;podman&lt;/code&gt; is installed) as follows for Ubuntu type distributions:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;podman pull docker.io/finanalyst/browser-editor:latest
podman run -d -v .:/browser/publication --rm docker.io/finanalyst/browser-editor:latest
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;And on Mac silicon&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;podman pull docker.io/finanalyst/browser-editor:latest
podman run -d -v.:/browser/publication --platform linux/amd64 --rm docker.io/finanalyst/browser-editor:latest
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;To stop the container&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;run podman ps and note the name of the container, eg good_person&lt;/li&gt;
&lt;li&gt;run podman stop good_person&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&quot;comparison-of-styling-using-other-systems&quot;&gt;Comparison of styling using other systems&lt;/h3&gt;
&lt;p&gt;It is very useful for a reader when the author lays out text in a pleasant manner, including spaces between paragraphs, and styling words within paragraphs to draw attention to them. &lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Practices that at first are considered considerate, become mandatory over time. For example, the very first styling of text came in Roman times, when good practice was to separate the letters making up words with spaces, and then to use punctuation marks. Now it is impossible to eliminate spaces and poor punctuation is a sign of a poor education. &lt;a rel=&quot;nofollow&quot; href=&quot;https://www.bbc.co.uk/culture/article/20150902-the-mysterious-origins-of-punctuation&quot;&gt;Here is an interesting article on punctuation&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Let's consider the ways in which we can highlight a word by making it &lt;strong&gt;bolder&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;In an MS Word document, an author will highlight the words to be emboldened and then use &lt;code&gt;Ctrl-B&lt;/code&gt; or the equivalent on a Mac. This is a quick and easy way of styling, unless the author decides too many bold words exist and wants to restyle to &lt;em&gt;Italic&lt;/em&gt;. Then it becomes a hassle to change.&lt;/p&gt;
&lt;p&gt;Using MarkDown, it is much easier in that the words to be styled are 'bracketed' using special characters, so &lt;code&gt;** ... **&lt;/code&gt; are used to embolden, while &lt;code&gt;* ... *&lt;/code&gt; are used for italicising. There are a few other characters such as `` for code. But as soon as you need more sophisticated styling, such as pushing the characters up as in exponentiation, or down, it's necessary to use HTML tags. However, the upside is that unlike an WYSIWYG editor, like Word, changing the styling is easy: change the styling character. And yet ... each different type of style, or rather its style character, has to be learnt.&lt;/p&gt;
&lt;p&gt;RakuDoc approaches styling in a different way: a number of markup codes are defined in a declarative manner, and all use the same syntax, &lt;code&gt;Upper case letter&lt;/code&gt; &lt;code&gt;opener&lt;/code&gt;content&lt;code&gt;closer&lt;/code&gt; e.g., &lt;code&gt;B&amp;lt;a basic term&amp;gt;&lt;/code&gt;. &lt;/p&gt;
&lt;p&gt;The simplest RakuDoc markup codes enclose text and provide a rendering, and they are:&lt;br&gt;
&lt;img src=&quot;https://coderlegion.com/?qa=blob&amp;amp;qa_blobid=7188644138870389433&quot; alt=&quot;&quot;&gt;&lt;/p&gt;
&lt;p&gt;The aim of the naming system is to provide a hint about the rendering, while leaving it to the renderer to implement the final output format.&lt;/p&gt;
&lt;p&gt;The same syntax is used for other types of inline content. Almost all the Latin uppercase letters, and a Greek uppercase letter have been defined for standard RakuDoc. Rather than describing each of the codes, it is probably best just to look at the &lt;a rel=&quot;nofollow&quot; href=&quot;https://raku.github.io/rakudoc#Formatting_codes&quot;&gt;RakuDoc v2 specification&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;However, the Markup syntax is not limited to the specified letters, and any Unicode character with the Uppercase property can be used for customised content. For example, the &lt;code&gt;Rakuast::RakuDoc::Renderer&lt;/code&gt; comes with a custom markup for inserting Font Awesome icons into the text. &lt;a rel=&quot;nofollow&quot; href=&quot;https://finanalyst.github.io/plugins/FontAwesome&quot;&gt;Some examples are given in the documentation for the module&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The aim of these initial articles is to provide an introduction, rather than give an extensive tutorial. The best way to see how the Markup codes work is to try them in the browser.&lt;/p&gt;
&lt;p&gt;Try copying the following RakuDoc source into the updated browser:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;=begin rakudoc
=TITLE Sample
=head Introduction

This is some B&amp;lt;basic&amp;gt; highlighting showing C&amp;lt;my $new code&amp;gt; with 
SomeJ&amp;lt;B&amp;lt;junior&amp;gt;&amp;gt;andH&amp;lt;I&amp;lt;higher&amp;gt;&amp;gt; text.

Here are some FontAwesome icons (ℱ = U+2131):

Train normal size ℱ&amp;lt;fas fa-train&amp;gt; Triple size train ℱ&amp;lt;fas fa-train fa-3x&amp;gt;

An animated spinner ℱ&amp;lt;fas fa-sync fa-spin fa-3x fa-fw&amp;gt;

Click on the C&amp;lt;On line&amp;gt;/C&amp;lt;Off line&amp;gt; switch to see.

Here is an inline image P&amp;lt;https://cdn.esahubble.org/archives/images/screen/potw2552a.jpg&amp;gt;

=end rakudoc
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You will get something like &lt;br&gt;
&lt;img src=&quot;https://coderlegion.com/?qa=blob&amp;amp;qa_blobid=8426295270257942988&quot; alt=&quot;&quot;&gt;&lt;/p&gt;
&lt;p&gt;If you scroll the pane to the bottom on the rendered side, you will find some warnings about errors found during the rendering. The simple HTML renderer is designed to be used offline and all the CSS and Javascript are contained inside the file.&lt;/p&gt;
&lt;p&gt;However, we now expect online connections with CSS, images and JS libraries delivered using CDNs. So the HTML-Extra renderer uses the Bulma CSS framework and has plugins to pull in FontAwesome and the LeafletMaps library (we will cover this in a future article).&lt;/p&gt;
&lt;p&gt;Now click on the &lt;code&gt;Go on line&lt;/code&gt; button. It may take some moments to render and pull the image in from the Hubble telescope site.&lt;/p&gt;
&lt;p&gt;You should get something like&lt;br&gt;
&lt;img src=&quot;https://coderlegion.com/?qa=blob&amp;amp;qa_blobid=16624826548555985639&quot; alt=&quot;&quot;&gt;&lt;/p&gt;
&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://learnword.io/wp-content/uploads/2024/03/109-highlight-text-word-document.png&quot;&gt;Attribution: cover image from&lt;/a&gt;&lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;https://esahubble.org&quot;&gt;Hubble telescope image from&lt;/a&gt;&lt;/p&gt;
</description>
<category>Tutorials</category>
<guid isPermaLink="true">https://coderlegion.com/10187/using-in-line-markup-in-rakudoc-article-2</guid>
<pubDate>Wed, 21 Jan 2026 16:42:11 +0000</pubDate>
</item>
<item>
<title>RakuDoc - More than just a documentation markup</title>
<link>https://coderlegion.com/9768/rakudoc-more-than-just-a-documentation-markup</link>
<description>&lt;h2 id=&quot;introduction-to-series&quot;&gt;Introduction to series&lt;/h2&gt;
&lt;p&gt;This is the first article in a series about the markup language RakuDoc. In subsequent articles I will explore some of the interesting aspects of RakuDoc and how to add customisations.&lt;/p&gt;
&lt;p&gt;In this first article, I want to discuss how RakuDoc came about, why its design allows for a wide use, and how a reader can easily (for some definitions of 'easily'?) experiment with RakuDoc in a browser using a docker image. &lt;/p&gt;
&lt;h2 id=&quot;raku-and-rakudoc&quot;&gt;Raku and RakuDoc&lt;/h2&gt;
&lt;p&gt;The Raku language belongs to the family of Perl variations (and was originally known as Perl 6). The culture surrounding Raku includes as highly recommended several good coding practices, such as extensive unit testing, and documentation.&lt;/p&gt;
&lt;p&gt;To facilitate documentation, Raku comes with its own markup language, called RakuDoc. The intention is that documentation can be included inside a program, in a similar way to inline comments, but it can also be used in standalone files to document how to use the software. RakuDoc has also taken into account Donald Knuth's &lt;a rel=&quot;nofollow&quot; href=&quot;https://en.wikipedia.org/wiki/Literate_programming&quot;&gt;literate coding&lt;/a&gt; ideas, although RakuDoc does not develop the fundamental ideas in the same way as others have. &lt;/p&gt;
&lt;p&gt;Furthermore, software development has dramatically changed since Knuth: virtually all projects have many dependencies, and libraries are written that are not ever intended to be the final customer-facing product. Consequently, documentation has two distinct faces:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;p&gt;maintainer or code-oriented, meaning that information is given about the algorithm or the purpose of variables. This information is never intended to be available to a user of the software;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;developer or text-oriented, meaning that information is given about how to use the software, and the purpose of the external interfaces.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Consequently, the documentation language for Raku needed to be usable inside the code, and also to create manual pages for developers using the software.&lt;/p&gt;
&lt;p&gt;The result - RakuDoc - is extensively used inside code modules, but it is also used in stand-alone files. The entire documentation for the Raku language (&lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.raku.org&quot;&gt;Raku documents&lt;/a&gt;) is written in some 700 RakuDoc files.&lt;/p&gt;
&lt;h2 id=&quot;beyond-documentation&quot;&gt;Beyond documentation&lt;/h2&gt;
&lt;p&gt;It is almost certain that readers of this article have used both Markdown and MS Word (or its FOSS equivalent LibreOffice). There are other editor/format systems, but I'll use these two for simplicity. &lt;/p&gt;
&lt;p&gt;Markdown dominates the web (and is used for &lt;em&gt;CoderLegion&lt;/em&gt;) because it is simple, and converts naturally into HTML.&lt;/p&gt;
&lt;p&gt;Word (LibreOffice) dominates the corporate space because (in part) it makes it easy for non-specialists to create documents that have different styles, automatic Tables of Contents, footnotes, and so on.&lt;/p&gt;
&lt;p&gt;Expert users, however, find that Markdown is too simple - it does not allow for Tables of Content linked to headings, or footnotes that link back to the source, and custom content blocks. These limitations have been redressed in several ways, but only by creating different &lt;em&gt;flavours&lt;/em&gt; of Markdown. A consequence of the ad hoc additions is that each type of functionality has a different syntax.&lt;/p&gt;
&lt;p&gt;Word (LibreOffice) by contrast is too complex. It is quite easy to create a glitch, say a bold style that extends too far, or bullets points that have different styling because the line end has been deleted. The only practical way to solve these issues is to delete enough text to eliminate the underlying style marker, and start again.&lt;/p&gt;
&lt;p&gt;It is a difficult task to create a Word file programmatically, not least because the underlying format is considered proprietary. LibreOffice files can be created programmatically, and then converted to Word.&lt;/p&gt;
&lt;p&gt;RakuDoc is located between these extremes: it was not designed to be rendered as a document is written. The RakuDoc source can be read and easily understood by a human author, and then the source is rendered into a format, such as HTML, pdf or epub format, which is read by the end user. &lt;/p&gt;
&lt;p&gt;To handle different styled text, such as bold, underline, RakuDoc text has markers which &lt;em&gt;declaratively&lt;/em&gt; indicate how the text should be treated by a renderer. Markdown also uses markers that map closely to an HTML rendering, eg &lt;code&gt;#&lt;/code&gt;, &lt;code&gt;*&lt;/code&gt;, &lt;code&gt;_&lt;/code&gt;. The declarative nature of RakuDoc's markup means that its &lt;code&gt;B&amp;lt;&amp;gt;&lt;/code&gt; stands for &lt;em&gt;Basic&lt;/em&gt; not &lt;em&gt;bold&lt;/em&gt;, and it is left to the renderer as to what that means in say HTML or epub. Furthermore, RakuDoc has a single syntax for the markers, and the possibility to add markers.&lt;/p&gt;
&lt;p&gt;In addition to text markers, RakuDoc has blocks that operate on chunks of text. These blocks can be associated with meta data, allowing for different styling, and customisation.&lt;/p&gt;
&lt;h2 id=&quot;how-to-experiment-with-rakudoc-&quot;&gt;How to experiment with RakuDoc?&lt;/h2&gt;
&lt;p&gt;To make things easier for experimentation, I have created a docker image &lt;code&gt;docker.io/finanalyst/browser-editor&lt;/code&gt; which can be run in a container, and accessed using a browser.&lt;/p&gt;
&lt;p&gt;However, for the interested reader, the more generic way is to install &lt;a rel=&quot;nofollow&quot; href=&quot;https://raku.org/&quot;&gt;Raku&lt;/a&gt; and then install the &lt;code&gt;Rakuast::RakuDoc::Render&lt;/code&gt; module. &lt;/p&gt;
&lt;p&gt;The intention of the browser editor container is for the RakuDoc source to be created and edited in a browser, which also renders the source to HTML on the fly. The edited RakuDoc source can be saved to the container's &lt;code&gt;browser/publication&lt;/code&gt; directory, and if the container's directory is &lt;em&gt;bound&lt;/em&gt; to a host directory, then the RakuDoc source will be saved on the local host as well.&lt;/p&gt;
&lt;p&gt;The following is written assuming a Linux OS and so it should work with, eg.,  Ubuntu and Apple. I have not tested this with a MS system, and I would be happy to have comments to adapt the following.&lt;/p&gt;
&lt;p&gt;Let's start. &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;p&gt;We need to have &lt;a rel=&quot;nofollow&quot; href=&quot;https://podman-desktop.io/&quot;&gt;podman&lt;/a&gt; installed.   &lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;We need an empty directory, say &lt;code&gt;rakudoc-test&lt;/code&gt;, eg. &lt;code&gt;mkdir rakudoc-test&lt;/code&gt;.   &lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Inside this directory (eg., &lt;code&gt;cd rakudoc-test&lt;/code&gt;), we run&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;podman run -d -v .:/browser/publication --network=host --rm docker.io/finanalyst/browser-editor:latest
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Update:&lt;/em&gt;&lt;/strong&gt; I have removed an underdocumented  constraint. So, this should now be&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;podman pull docker.io/finanalyst/browser-editor:latest
podman run -d -v .:/browser/publication --rm docker.io/finanalyst/browser-editor:latest
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;For Mac users, try&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;podman pull docker.io/finanalyst/browser-editor:latest
podman run -d -v .:/browser/publication --platform linux/amd64 --rm docker.io/finanalyst/browser-editor:latest
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Point a browser at &lt;code&gt;localhost:3000&lt;/code&gt; and the window should look like this &lt;img src=&quot;https://coderlegion.com/?qa=blob&amp;amp;qa_blobid=5640541954896185668&quot; alt=&quot;&quot;&gt;   &lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Edit the rakudoc file, then click on the &lt;strong&gt;Save&lt;/strong&gt; button.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;End the container&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;run &lt;code&gt;podman ps&lt;/code&gt; and note the name of the container, eg &lt;code&gt;good_person&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;run &lt;code&gt;podman stop good_person&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&quot;some-comments-about-the-podman-command-&quot;&gt;Some comments about the &lt;code&gt;podman&lt;/code&gt; command.&lt;/h3&gt;
&lt;p&gt;It should pull in the latest version of the &lt;code&gt;browser-editor&lt;/code&gt; image, bind the current directory (we are running this inside &lt;code&gt;rakudoc-test&lt;/code&gt;) to the container's &lt;code&gt;browser/publication&lt;/code&gt; directory, and then return a SHA identity string (don't worry, it can be forgotten). The &lt;code&gt;--network=host&lt;/code&gt; is the simplest way to arrange for the container to serve the browser. However, &lt;code&gt;podman&lt;/code&gt; developers consider this a possible vulnerability and there is a way to set up a network stack to run the image more safely. For those concerned about safety, the container source can be seen at &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/finanalyst/RakuDoc-Browser-Editor&quot;&gt;github browser-editor&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&quot;about-the-browser-editor&quot;&gt;About the browser editor&lt;/h2&gt;
&lt;p&gt;The left-hand panel uses an instance of the Ace editor with a RakuDoc source, and the right-hand panel contains the HTML rendering of that source. The Ace editor allows for the normal editor functions, while the HTML rendering is generated as soon as the editor contents changes. Consequently, when typing it is likely that an invalid RakuDoc source will be created. Once the RakuDoc source is correct, it will be rendered into the right-hand panel. In addition, there are various RakuDoc expressions that are ambiguous, in which case, a warning will be generated that is shown at the bottom of the rendered file.&lt;/p&gt;
&lt;p&gt;A small sample RakuDoc file is included to start off. The name of the file can be changed by editing the filename text widget, eg to &lt;code&gt;web-sample.rakudoc&lt;/code&gt;. By pressing the &lt;code&gt;Save&lt;/code&gt; button, the RakuDoc source is saved to the container's &lt;code&gt;browser\publication\web-sample.rakudoc&lt;/code&gt; and if the directories are linked properly, then &lt;code&gt;web-sample.rakudoc&lt;/code&gt; will be saved on the local system.  Another file &lt;code&gt;rakudociem-ipsum.rakudoc&lt;/code&gt; can also be selected. It contains examples of nearly all RakuDoc's features, but it can take a while to render.&lt;/p&gt;
&lt;h2 id=&quot;test-the-system&quot;&gt;Test the system&lt;/h2&gt;
&lt;p&gt;Just to test the system and to give a flavour of RakuDoc, try adding the following text after the &lt;em&gt;First item&lt;/em&gt; line:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;=for item :bullet&amp;lt;&amp;lt;\c[turkey]&amp;gt;&amp;gt;
Second item
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This should produce a browser window a bit like this &lt;img src=&quot;https://coderlegion.com/?qa=blob&amp;amp;qa_blobid=866932286001060794&quot; alt=&quot;&quot;&gt;&lt;/p&gt;
&lt;p&gt;Some commentary on this new text:  &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;the line &lt;code&gt;=item First item&lt;/code&gt; would create a bullet point similar to &lt;code&gt;- First item&lt;/code&gt; in Markdown.  &lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;However, it is possible to change the bullet item by item by adding meta data to the &lt;code&gt;item&lt;/code&gt; block. However, to distinguish between a block without meta data &lt;code&gt;=item First&lt;/code&gt; and one with meta data, we use the &lt;code&gt;=for&lt;/code&gt; directive.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Item blocks will accept a &lt;code&gt;:bullet&lt;/code&gt; option. The contents of the bullet option are then interpreted as the bullet. Raku has several bracketing syntaxes, and the &lt;code&gt;&amp;lt;&amp;lt;&lt;/code&gt;/&lt;code&gt;&amp;gt;&amp;gt;&lt;/code&gt; brackets (or the Unicode equivalents &lt;code&gt;« »&lt;/code&gt;) take the contents and treat them as an interpolated string. &lt;code&gt;\c[  ]&lt;/code&gt; takes the content as a Unicode symbol name and its interpolated value is the Unicode character. Consequently &lt;code&gt;\c[turkey]&lt;/code&gt; is the Unicode icon  (U+1F983).&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So now add below the last item&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;=for item2 :bullet&amp;lt;&amp;lt;\c[tulip]&amp;gt;&amp;gt;
sub second item
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and now there is a second level item with a new bullet, producing a window like: &lt;img src=&quot;https://coderlegion.com/?qa=blob&amp;amp;qa_blobid=14013733728473311139&quot; alt=&quot;&quot;&gt;&lt;/p&gt;
&lt;p&gt;Finally, lets show a bit of customisation. Try adding the following lines before the last line (&lt;code&gt;=end rakudoc&lt;/code&gt;)&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;=config item :bullet&amp;lt;&amp;lt;\c[rose]&amp;gt;&amp;gt;
=item a new item
=item a second item
=item and a third one
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The browser window should look something like &lt;img src=&quot;https://coderlegion.com/?qa=blob&amp;amp;qa_blobid=8902037205639259159&quot; alt=&quot;&quot;&gt;&lt;br&gt;
Here the meta option &lt;code&gt;:bullet&amp;lt;&amp;lt;\c[rose]&amp;gt;&amp;gt;&lt;/code&gt; in the &lt;code&gt;=config&lt;/code&gt; statement is distributed to all the &lt;code&gt;=item&lt;/code&gt; blocks implicitly. Consequently, all the following item blocks will have that bullet option automatically.&lt;/p&gt;
&lt;p&gt;Future articles will look at the different block types, and some custom blocks that include maps and formula, and different markup formats, such as &lt;code&gt;B&amp;lt;&amp;gt;&lt;/code&gt; and &lt;code&gt;C&amp;lt;&amp;gt;&lt;/code&gt;.&lt;/p&gt;
</description>
<category>Getting Started</category>
<guid isPermaLink="true">https://coderlegion.com/9768/rakudoc-more-than-just-a-documentation-markup</guid>
<pubDate>Thu, 15 Jan 2026 21:50:27 +0000</pubDate>
</item>
</channel>
</rss>