src/html.h

changeset 52
e9edc3bd0301
parent 46
7e099403e5b0
equal deleted inserted replaced
51:49fdc2eb7cd4 52:e9edc3bd0301
29 #include <chrono> 29 #include <chrono>
30 #include <array> 30 #include <array>
31 31
32 namespace html { 32 namespace html {
33 33
34 static constexpr unsigned max_indentation = 16;
35 static constexpr unsigned max_external_indentation = max_indentation - 4;
34 static constexpr unsigned columns = 53; 36 static constexpr unsigned columns = 53;
35 37
36 void open(bool fragment); 38 void open(bool fragment, unsigned char fragment_indent = 0);
37 void close(bool fragment); 39 void close(bool fragment);
38 40
39 void chart_begin(const std::string& repo, const std::string& author); 41 void chart_begin(const std::string& repo, const std::string& author);
40 void chart_end(); 42 void chart_end();
41 void heading_repo(const std::string& repo); 43 void heading_repo(const std::string& repo);

mercurial