markdown

Complex Tables

Homebrewery allows for an extended Markdown-like syntax for more complex tables which is helpful when building something like D&D class tables. In Basic Tables the regular syntax for simple Markdown tables was covered. Simple tables will likely cover most of your use cases, and everything starts from there, so be sure you have read that Complex Tables

Basic Tables

I’ve covered tables in the past, but with the new little live editor it’s worth taking a second swing for the Almanac. Many brews will use tables for things like class tables, roll tables, lists of loot, monster stat blocks and more. All of these tables can have different layouts and don’t necessarily just follow Basic Tables

Description Lists

A description list is a pattern where a term is followed by a description. HTML supports this pattern with three tags: dl, dt, and dd, respectively. The description list (dl) wraps around the term and description, or multiple pairs like an ordered or unordered list (ol, ul) wraps around list items (li). In the above Description Lists

Variables

Homebrewery’s Variables is a feature that really takes a minute to commit to memory. I’ve long avoided writing about it, mostly because I haven’t found a strong reason to use it. However, it seems like more features are likely to built on top of it going forward. And, because I hardly actually use the Homebrewery Variables

Lists

Creating lists in Homebrewery, using Markdown, is quite intuitive, and styling it isn’t half bad either. Homebrewery doesn’t add any special syntax for regular lists, but it does for definition lists (article to come soon). Markup Lists should contain content that is actually a list of related items, and there are basically two types of Lists

Injectors

Injectors are the third and final type of “curly brace” syntax that is unique to the Homebrewery, and they are used to “inject” the preceding element with it’s own attribute contents. It is a custom extension of Markdown, and thus it can be difficult to find any information about how to use it when doing Injectors

Divs

A <div> element in HTML is a basic, generic container for content on a website, similar to a <span> element, except that rather than being “inline” it is a “block” element. In Homebrewery terms, things like the “note” or a “stat block” are pieces of content wrapped in a div. Like a span, a div Divs

Spans

Applying some sort of modification to a span of text on a website would typically require a bit of HTML, specifically a <span> tag with a class or id attribute so it could be targeted with CSS. Homebrewery simplifies this with a special extended Markdown syntax that utilizes “curly” or “mustache” braces for both spans Spans

Markdown, Homebrewery, and Tables

In this post I would like to talk about Tables in the Homebrewery because not only are they useful in homebrews but also because of how the Homebrewery takes a few steps outside of conventional Markdown with a custom extension of the table syntax. I’ll start with the most basic of tables using standard Markdown Markdown, Homebrewery, and Tables