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
13
#include <
aurore/cadran/util/markdown.hpp
>
14
15
namespace
markdown_view
16
{
17
20
void
fill
(
aurore::Box
* box,
const
std::vector<markdown::Block>& blocks);
21
22
}
// namespace markdown_view
aurore.hpp
aurore::Box
Generic FlexBox layout.
Definition
box.hpp:74
markdown.hpp
markdown_view
Definition
markdown_view.hpp:16
markdown_view::fill
void fill(aurore::Box *box, const std::vector< markdown::Block > &blocks)
aurore
cadran
view
markdown_view.hpp
Generated by
1.9.8