Aurore
A Switch-like interface for your app, on every screen
Loading...
Searching...
No Matches
markdown_view.hpp
Go to the documentation of this file.
1// markdown_view — util/markdown.hpp's blocks as views: headings in the
2// accent colour (the first two levels over a rule, with their emoji when
3// Twemoji has it), paragraphs, bullet, numbered and task lists (a drawn box,
4// ticked or not), code on a tinted card, quotes and GitHub's alerts with a
5// coloured bar and title, rules, and tables as a grid. Labels only: nothing
6// is opened or run.
7// Copyright (C) 2026 JigSawFr. GPLv3-or-later (see LICENSE.GPL).
8#pragma once
9
10#include <vector>
11#include <aurore.hpp>
12
14
16{
17
20void fill(aurore::Box* box, const std::vector<markdown::Block>& blocks);
21
22} // namespace markdown_view
Generic FlexBox layout.
Definition box.hpp:74
Definition markdown_view.hpp:16
void fill(aurore::Box *box, const std::vector< markdown::Block > &blocks)