# ๐Ÿงฐ Getting Started Welcome to **Chronicler** โ€” your digital scriptorium for worldbuilding, notes, and knowledge management. This guide is split into three parts. Start with **The Essentials** to learn the basics and get writing in minutes. When you're ready for more power, move on to the **Customization** and **Advanced Guide**. ### ๐ŸŒ Community & Inspiration Looking for inspiration or want to see how others are building their worlds? Check out our [Community Blog](https://chronicler.pro/community)! It's the perfect place to explore user-generated showcases, and download custom templates shared by fellow chroniclers. --- ## ๐Ÿงฑ Part 1: The Essentials ### ๐Ÿ“ฆ Vaults and Files Chronicler stores your notes as plain Markdown (`.md`) files in a folder on your computer, called a **vault**. - โœ… You choose where your vault lives (e.g., `C:\Users\YourName\MyWorld`). - ๐Ÿ“‚ Create folders and organize your files however you like. - ๐Ÿ” Changes made on your computer are instantly reflected in the app. --- ### ๐Ÿ“ Writing in Markdown Chronicler uses **Markdown** to format your pages. - Use `# heading`, `## subheading`, `**bold**`, `*italic*`, `-` for bullet lists, and so on - Use `---` to insert horizontal separators to divide long pages into readable sections. - Use `[^1]`,`[^2]` etc. for footnotes. ``` Here is a simple footnote[^1]. With some additional text after it. [^1]: My reference. ``` --- ### ๐Ÿ”— Linking Between Pages Use `[[Page Name]]` to link to other pages in your vault. - Create an alias with `[[Page Name|link text]]`. - Link directly to a section header with `[[Page Name#Header]]`. - When you rename a page, all links to it are automatically updated. --- ### ๐Ÿ”– Infoboxes At the top of each page is an **infobox** for at-a-glance details. This is controlled by a block of text at the very top of your file called **YAML frontmatter**. This is where you can set the page's title, add an image, and apply tags. ```yaml --- title: Rivertown image: rivertown.jpg tags: [city, trade, river] --- ``` > Tip: There's an "Edit Infobox" button in the toolbar at the top of the Editor that lets you build the Infobox in a more graphical way. --- ### ๐Ÿ—‚๏ธ Organizing with Tags & Folders There are two main ways to organize your vault: 1. ๐Ÿ“‚ **Folders**: Create folders in the file explorer to group related pages, like `Places/`, `Characters/`, or `History/`. 2. ๐Ÿท๏ธ **Tags**: Add a list of tags to the `tags` field in the infobox. Click any tag to see all other pages with that tag. ```yaml tags: [city, coastal] ``` > Tip: Pages and folders are ordered alphabetically. If you want to enforce a specific order, you can prefix them with numbers (e.g., `01_Characters`, `02_Places`, `03_History`). --- ### ๐Ÿ–ผ๏ธ Images You can store your images in any folder within your vault, e.g a central `images/` folder, or right next to your notes. Chronicler will find them automatically. You can also refer to images outside your vault by providing the full path (e.g `C:\Users\Michael\map.png`), or by using shortcuts/symlinks within the vault, however this is *not* recommended as it may slow down your pages. #### ๐Ÿ‘ค Infobox Images You can display an image in a pageโ€™s **infobox** by adding the `image` field to the frontmatter at the top of your file: ```yaml image: rivertown.jpg ``` #### ๐Ÿž๏ธ Page Images The easiest way to add an image to the body of your page is with the wikilink syntax: ```markdown ![[world-map.jpg]] ``` *For more control over image size and placement, see the Advanced Guide.* --- ### ๐Ÿซฃ Spoilers Hide text by wrapping it in double pipes `||like this||`. The text will be blacked out until a reader clicks on it. ```markdown The kingโ€™s advisor is ||secretly a vampire||. ``` --- ### ๐Ÿ—„๏ธ Tables Create simple tables with pipes `|` and dashes `-`. ```markdown | Item | Price | |--------|-------| | Sword | 100gp | | Shield | 75gp | ``` > Tip: Links with custom text (e.g., `[[Page|Link text]]`) use the `|` symbol, which can break a table's structure. To fix this, just add a backslash `\` before it: `[[Page\|Link text]]`. *For more control over tables, see the Advanced Guide.* --- ### ๐Ÿงฉ Page Inserts Embed the content of one page directly inside another. This is great for reusing information (e.g navboxes, item cards, stat blocks...) so you only have to update it in one place. ```markdown {{insert: Page Name}} ``` You can also set a custom title for the header, start the insert hidden, or remove all styling entirely and make the insert borderless. ```markdown {{insert: The Great War | title="Summary of the Great War" | centered | hidden}} {{insert: Enchanted Dagger | borderless}} ``` --- ### ๐Ÿ“„ Page Templates Use templates to create new pages with a pre-defined structure, saving you time and ensuring consistency across your vault. For example, you could have templates for characters, locations, or session notes, each with pre-defined YAML frontmatter and section headings. Go to **Settings โ†’ Manage Templates** to create and edit them. --- ## ๐Ÿ› ๏ธ Part 2: Customization This section covers customization for your workflow and the appearance of your pages. ### โš™๏ธ Application Settings Directory Chronicler stores global settings, themes and fonts in a dedicated folder on your computer. You can find it here: - **Windows**: `%AppData%\pro.chronicler\` - **Linux**: `~/.local/share/pro.chronicler/` - **Flatpak**: `~/.var/app/pro.chronicler.Chronicler/config/pro.chronicler` - **macOS**: `~/Library/Application Support/pro.chronicler/` --- ### ๐ŸŽจ Themes & Fonts - **Themes**: Switch between built-in color schemes or create your own with the Theme Editor. - **Custom Fonts**: Add your own `.woff2`, `.ttf`, or `.otf` font files to the `fonts` subfolder within the **Application Settings Directory** (see above). After a restart, they will be available in the theme editor.hemes --- ## ๐Ÿš€ Part 3: Advanced Guide This section covers powerful features for enhancing your workflow. ### ๐Ÿชช Mastering the Infobox The "infobox" at the top of each page is controlled by a block of text called **YAML frontmatter**. You can add any custom fields you want (e.g., `population`, `leader`, `age`), and they will automatically appear in the infobox. Several fields have special functionality: | Field | Description | |------------|-------------------------------------------------------------| | `title` | The display title for the page and infobox. | | `subtitle` | A subtitle shown in the infobox. | | `infobox` | A header shown below the infobox image. | | `tags` | A list of tags for organization. | | `image` | An image or carousel of images for the infobox. | | `layout` | Rules for creating headers and columns in the infobox. | #### ๐ŸŽ  Infobox Carousels Besides a single image, you can provide a list of images to create a carousel in the **infobox**: ```yaml image: [rivertown_day.jpg, rivertown_night.jpg, rivertown_castle.jpg] ``` You can also add captions to each image in the carousel: ``` image: [[rivertown_day.jpg, "Day"], [rivertown_night.jpg, "Night"]] ``` #### ๐Ÿšจ Special Syntax Some values may contain special characters that need to be treated properly (for example `[[wikilinks]]` or `||spoilers||`). There are two safe ways to include these without breaking the frontmatter: 1. **Wrap the value in quotes**: ```yaml motto: 'Strength | Honor' race: '[[Elf|High Elf]]' ``` 2. **For multi-line text, or to use special characters without quotes, start the line with a pipe symbol (`|`)** ```yaml notes: | This text can contain [[wikilinks]] or ||spoilers|| directly. It can also span multiple lines. ``` #### โœ’๏ธ Inline Markdown You can use Markdown like `**bold**` and `*italic*` inside field values. ```yaml motto: '*Strength and Honor*' homepage: '[Official Site](https://example.com)' ``` #### โšœ๏ธ Inline Images You can embed small images like flags or icons directly into infobox fields. This is great for adding visual flair next to text. ```yaml allegiance: 'Lynorian Empire ![[lynorian-flag.png]]' ``` #### ๐Ÿ› ๏ธ HTML & Complex Components in YAML You aren't limited to just plain text and wikilinks in your infobox fields. By combining the multi-line pipe (`|`) syntax with standard HTML, you can embed Chronicler's advanced components (like image galleries, custom tables, or carousels) directly into your frontmatter! For example, here is how you can embed a fully functional, tabbed image carousel directly inside a custom infobox field: ```yaml architecture: | ``` #### ๐Ÿ—๏ธ Infobox Layout Use the `layout` key to add headers and group fields into columns for a professional, wiki-style infobox. ##### Adding Separators - `type: separator`: Defines the rule as a horizontal separator. - `above: 'field_name'`: Injects the separator immediately before `field_name`. > Tip: You can define multiple separators using an array, e.g `below: [field1, field2]`. ##### Adding Headers - `type: header`: Defines the rule as a header. - `text: 'Your Text'`: The text to display in the header. - `below: 'field_name'`: Injects the header immediately after `field_name`. ##### Aliasing Keys - `type: alias`: Defines the rule as a key alias. - `keys: [field1, field2]`: A list of the frontmatter keys you want to rename. - `text: 'New Label'`: The custom text to display for these keys. > Tip: This is useful for creating the visual effect of duplicate keys (e.g., displaying "Strength" for two different factions), which isn't possible in standard YAML. ##### Grouping Fields into Columns - `type: group`: Defines the rule as a group. - `keys: [field1, field2]`: A list of the frontmatter keys to include in the group. ##### Full Example ```yaml --- title: Battle of the Somme belligerents_allies: ["United Kingdom", "France"] belligerents_central: ["German Empire"] commander_allies: ["Douglas Haig", "Ferdinand Foch"] commander_central: ["Erich von Falkenhayn"] layout: - type: header text: Belligerents above: belligerents_allies - type: group keys: [belligerents_allies, belligerents_central] - type: header text: Commanders above: commander_allies - type: group keys: [commander_allies, commander_central] --- ``` --- ### ๐Ÿ“ธ Advanced Images #### ๐Ÿ”— Clickable Images You can turn any image into a link to another page by using the image as the link's **alias**. ```markdown [[Page Name|![[image.png]]]] ``` This allows you to create clickable icons or badges directly in your text. #### ๐Ÿ–ผ๏ธ Image Galleries Create wiki-style image galleries that arrange themselves into a grid. Images in a gallery are uniform in size and look great on any screen. ##### Basic Gallery Wrap your images in a `