Perplex
  • News
  • Docs
  • Blog
  • About
  • GitHub

Category: Markdown

The Intuitive Markup Language

    • Docs
    • ›
    • TL;DR

    Markdown Layout

    Samples of Hugo’s extended CommonMark syntax to give a quick impression of the default layout.

    • Georg Makowski
    • Docs
    • ›
    • Intro

    Markdown

    Markdown has become the favored markup language to structure text files. With good cause: The Markdown syntax is very intuitive.

    • Georg Makowski
  • Newspaper page with lots of different headings
    • Docs
    • ›
    • Basic

    Text Headings

    Headings introduce and order content segments on a page. Heading levels need to descend without interruption. We can modify headings only visually when we want to skip some levels.

    • Georg Makowski
  • Some paragraphs of text
    • Docs
    • ›
    • Basic

    Paragraphs

    Paragraphs are the essential building blocks of text. A comfortable line length and surrounding whitespace contribute to their legibility.

    • Georg Makowski
  • A page in a book with a lot of line breaks
    • Docs
    • ›
    • Basic

    Line Break

    Sometimes we like to begin a new line without starting a whole new text block. Placing such a hard-line break gets complicated when hard-line wraps determine the line length inside the Markdown content files.

    • Georg Makowski
  • The word “Bold” in bold letters
    • Docs
    • ›
    • Basic

    Emphasis

    We have two types of emphasis to accentuate segments of our content: Light emphasis and strong emphasis. And we can nest both types.

    • Georg Makowski
  • The quote “All ideas grow out of other ideas” written on a a large stairway
    • Docs
    • ›
    • Basic

    Quote

    To quote someone means to recognize her or his thoughts as part of our own. We may agree or disagree, but we should refer to them correctly.

    • Georg Makowski
  • A small notebook with a list
    • Docs
    • ›
    • Basic

    Simple List

    A simple list is unordered and groups a set of related items. Any item may contain a sub-list.

    • Georg Makowski
  • An old wooden library database
    • Docs
    • ›
    • Basic

    Ordered List

    Ordered lists group related items and mark them with ascending counters. They provide a very clear structure for a relatively short number of items.

    • Georg Makowski
  • Code on a screen
    • Docs
    • ›
    • Basic

    Code

    The main text column offers space for 80 characters of code in one line. When we need more to fit in one line, we can let it expand into the marginal column(s).

    • Georg Makowski
  • Straight condensation trail behind an airplane
    • Docs
    • ›
    • Basic

    Horizontal Rule

    Sometimes the separation of page segments by space is not clear enough. Then we can add this layout element as an explicit visual separation.

    • Georg Makowski
  • A few chain links
    • Docs
    • ›
    • Basic

    Links

    Internet references or short “links” are the binding fabric of the web. Markdown encourages their use by providing a few 
    simple markup options.

    • Georg Makowski
  • Splashing drop of water
    • Docs
    • ›
    • Basic

    Image

    There is only one Markdown image element but the theme distinguishes between two possible positions: stand-alone & embedded.

    • Georg Makowski
  • Movable type for printing letters
    • Docs
    • ›
    • Basic

    Special Characters

    All available characters are valid Markdown. Here we talk about the ones that need special care: ASCII markup characters, HTML entities & exotic UTF-8 symbols.

    • Georg Makowski
  • A few entries in a printed dictionary
    • Docs
    • ›
    • Extended

    Definition List

    Definition lists consist of terms as list markers, which are associated with details in the list entries.

    • Georg Makowski
  • A book with a lot of hand-written notes
    • Docs
    • ›
    • Extended

    Footnotes

    Footnotes are best suited for (formal) information, which is not essential for the meaning of the text.

    • Georg Makowski
  • A detail from a large data list
    • Docs
    • ›
    • Extended

    Tables

    Markdown tables need some care, because their layout breaks, when the content of one row exceeds the available width.

    • Georg Makowski
  • A few colored pencils
    • Docs
    • ›
    • Extended

    Strike-through and Insertion

    Correction marks highlight changes while working on a draft. Lately, strike-through has also become a hip visual style.

    • Georg Makowski
  • Hand written task list
    • Docs
    • ›
    • Extended

    Task List

    A task list on a web page should be an interactive element which directly changes the corresponding Markdown. A theme can’t establish such a connection on its own.

    • Georg Makowski
  • Some specimen of movable type for printing
    • Docs
    • ›
    • Extended

    Typographer

    Simple ASCII punctuation characters are substituted with typographic correct ones.

    • Georg Makowski
  • Blackboard with Einstein's most famous formula
    • Docs
    • ›
    • Extended

    Super-, Subscripts, and Fractions

    There is an extra markup in Hugo for vertically shifted characters in normal text.

    • Georg Makowski
  • Open red marker
    • Docs
    • ›
    • Extended

    Mark

    Mark and highlight inline text as especially important.

    • Georg Makowski
  • Big diagram on the walls of a room
    • Docs
    • ›
    • Extended

    GoAT

    GoAT renders ASCII diagrams as SVG and is a Golang implementation of Markdeep’s ASCII renderer.

    • bridge structure
      • Docs
      • ›
      • Enhancing
      • ›
      • Image

      Enhanced Image Syntax

      We can preprocess images (rotate, change ratio, and zoom) and have several options for placing them in and around the text. We can add a caption. All this is achieved by additional parameters associated with the image source.

      • Georg Makowski
    • Shadow of a lone man in the sunrise
      • Docs
      • ›
      • Enhancing
      • ›
      • Image

      Stand-alone Image

      Layout options for enhanced images and their layout possibilities.

      • Georg Makowski
    • Budddha head embedded in a tree
      • Docs
      • ›
      • Enhancing
      • ›
      • Image

      Embedded image (float)

      All the layout options for enhanced embedded images.

      • Georg Makowski
    • Complicated image
      • Docs
      • ›
      • Enhancing
      • ›
      • Image

      Image Processing

      The theme relies on the powerful integrated Hugo methods.

      • Georg Makowski
    • Christmas decoration
      • Docs
      • ›
      • Enhancing
      • ›
      • Attributes

      How to use Attributes?

      Hugo’s attributes are plain HTML attributes getting injected from the Markdown source into the rendered HTML.

      • Georg Makowski
    • Cardboard boxes
      • Docs
      • ›
      • Enhancing
      • ›
      • Attributes

      Boxes

      There is one box for framing content like a figure. And there are four kinds of annotation boxes for important messages: Danger, warning, info, and success.

      • Georg Makowski
    • wireframe
      • Docs
      • ›
      • Enhancing
      • ›
      • Attributes

      Position

      When the content of a block fits nicely into a single column we can shrink & move it to the left or the right.

      • Georg Makowski
    • The anchor of a ship
      • Docs
      • ›
      • Enhancing
      • ›
      • Attributes

      Anchors

      It’s easy to manually add anchors to any block element with an identifier attribute and to reference them with a Markdown link.

      • Georg Makowski
    • Inline skating
      • Docs
      • ›
      • Enhancing
      • ›
      • Attributes

      Inline

      We can change the default layout behaviour of a Markdown block from a full-width layout block to an inline block, in case we want to place another element besides this block.

      • Georg Makowski
    • Clear water
      • Docs
      • ›
      • Enhancing
      • ›
      • Attributes

      Clear a floating element

      Sometimes we want the text to stop floating around an embedded element. We need a good ol’ .clear attribute, then.

      • Georg Makowski
    • Old inventory listing
      • Docs
      • ›
      • Enhancing
      • ›
      • Attributes

      Attribute Register

      All element-specific attributes are listed here to provide a kind of cheat sheet.

      • Georg Makowski
    • A HTML tag
      • Docs
      • ›
      • Enhancing
      • ›
      • Replacements

      How to use replacements

      Text enclosed by curly braces { and } and special ASCII signs is replaced with missing Markdown tags after rendering.

      • Georg Makowski
    • An old typewriter with cactuses growing inside
      • Docs
      • ›
      • Enhancing
      • ›
      • Replacements

      Keyboard Legend

      Refer explicitly to keyboard strokes in your text.

      • Georg Makowski
    • A sign on a tree cites Martin Luther King in French: “Croyez en vos rêves et ils se réaliseront peut-être. Croyez en vous et ils se réaliseron sûrement.”
      • Docs
      • ›
      • Enhancing
      • ›
      • Replacements

      Referencing the work of others

      This replacement code wraps the HTML tag around the marked content.

      • Georg Makowski
    • A page in a book with a lot of line breaks
      • Docs
      • ›
      • Enhancing
      • ›
      • Replacements

      Conditional Break

      Sometimes we like to break a title or a line only for those layout versions, which show the text in full width.

      • Georg Makowski
    • A page in a book with a lot of line breaks
      • Docs
      • ›
      • Enhancing
      • ›
      • Replacements

      Word Break

      Very long strings that are not hyphenated automatically may need an optional line break without a hyphen. We can generate the HTML tag with this replacement code.

      • Georg Makowski
    • Mobile phone showing \
      • Docs
      • ›
      • Enhancing
      • ›
      • Shortcodes

      How to use shortcodes?

      Shortcodes can inject arbitrary and configurable HTML (or automated Markdown) in Markdown content — Hugo offers them as “Markdown’s hidden superpower”.

      • Georg Makowski
    • Old reprint of a classic proof by Diophantus followed by Fermat’s famous last conjecture
      • Docs
      • ›
      • Enhancing
      • ›
      • Shortcodes

      Marginal Note

      A marginal note contains additional important but nonessential information. It explains some context, sheds light on a detail or speculates on a given topic etc.

      • Georg Makowski
    • Colored welcome
      • Docs
      • ›
      • Page

      Standfirst Paragraph

      The first paragraph of every normal content page should contain a short introduction or summary. Usually, it’s also a good idea to mark this first paragraph with a styling attribute.

      • Georg Makowski
      • Docs
      • ›
      • Plugins

      LaTeX

      LaTeX is the most popular typesetting system for the natural sciences. The syntax has been established as a quasi-standard for complex mathematical formulas in print and web layouts.

      • Georg Makowski
    • A woman with a big mono-fin swimming in a pool
      • Docs
      • ›
      • Plugins

      Mermaid

      Mermaid is a popular Javascript library creating SVG diagrams from text and code descriptions.

      • Georg Makowski
    • Big diagram on the walls of a room
      • Docs
      • ›
      • Plugins

      Kroki

      Generate SVG diagrams with the Kroki service by placing textual diagram descriptions into Markdown code blocks.

      • Georg Makowski
      • Docs
      • ›
      • Appendix
      • ›
      • Config

      markup.yaml

      The project configuration file for the Markdown rendering engine in config/_default

      • Georg Makowski
    • A HTML tag
      • Docs
      • ›
      • Appendix

      replacements.html

      This template file from the module hugo-mod-replacements contains the regular expressions for all replacement codes.

      • Georg Makowski
    • Computer keyboard
      • Docs
      • ›
      • Appendix

      Example Punctuation Keymap

      Punctuation Keymap of the German Keyboard Layout for Ubuntu.

      • Georg Makowski
    • The Hugo logo
      • News
      • •
      • Markdown
      May 14, 2024

      Extra Markdown extensions

      Since version 0.126.0 Hugo offers to render additional inline markup for super- and subscripts, insertions, and marked content.

      • Georg Makowski
    • Featured image
      • Blog
      • •
      • Markdown
      Mar 27, 2023

      Stand-alone Images

      Demo for enhanced images and their layout possibilities.

      • Georg Makowski
    • Micro placeholder tiger
      • Blog
      • •
      • Markdown
      Mar 23, 2023

      Embedded images

      Demo for the layout options of enhanced embedded images.

      • Georg Makowski
    • Code on a screen
      • Blog
      • •
      • Markdown
      Nov 1, 2022

      Code Block Layout Demo

      On large screens, code blocks expand into the margins as long as possible and may include up to 160 characters in one line.

      • Georg Makowski
    • Old reprint of a classic proof by Diophantus followed by Fermat’s famous last conjecture
      • Blog
      • •
      • Markdown
      Jul 4, 2022

      The Beauty of Marginal Notes

      Marginal notes add further information elegantly and unobtrusively. We can add them with the shortcode mnote.

      • Georg Makowski

    All Taxonomies

      • Markdown (54)‍•
      • Configuration (13)‍•
      • Design (10)‍•
      • Template (9)‍•
      • Module (8)‍•
      • Getting Started (7)‍•
      • Overview (4)‍•
      • Release (3)
      • Block (15)‍•
      • Image (13)‍•
      • Inline (10)‍•
      • Hugo (9)‍•
      • Replacement (9)‍•
      • Attribute (7)‍•
      • Workflow (6)‍•
      • Fluid Responsive (5)‍•
      • Page (5)‍•
      • Site (5)‍•
      • Accessible (4)‍•
      • Color (4)‍•
      • Linebreak (4)‍•
      • List (4)‍•
      • Menu (4)‍•
      • Security (4)‍•
      • Code (3)‍•
      • Diagram (3)‍•
      • Feature (3)‍•
      • Punctuation (3)‍•
      • Shortcode (3)‍•
      • Author (2)‍•
      • Embedded (2)‍•
      • Headings (2)‍•
      • Icon (2)‍•
      • Latex (2)‍•
      • Marginal Note (2)‍•
      • Mermaid (2)‍•
      • Navigation (2)‍•
      • Paragraph (2)‍•
      • Related (2)‍•
      • Resources (2)‍•
      • Search (2)‍•
      • Stand-Alone (2)‍•
      • CSS (1)‍•
      • Installation (1)‍•
      • License (1)‍•
      • Privacy (1)‍•
      • Quote (1)‍•
      • Spacing (1)‍•
      • Table (1)‍•
      • Taxonomies (1)‍•
      • Title (1)‍•
      • Tracking (1)‍•
      • VSCode (1)
      • Images (7)‍•
      • Demo (2)

    Theme

    Apache 2.0 license

    Credits

     Thanks to you all!

    Content

    Creative Commons 4.0 logo

    unless noted otherwise.

    Generated by

    Hugo logo

    Apache 2.0 license

    Deployed by

    • Netlify
    • GitHub

    Tested with

    • PageSpeed Insights
    • HTML-Proofer
    • Sonarcloud
    • Wave
    • Browserstack

    Legal matters

    • Licenses
    • Impressum