Add icons and highlight.js to project
This commit includes the addition of a new toolbox icon in both .ico and .png formats, updating the resource file to reference the new icon. In addition, numerous highlight.js files and styles have been integrated into the project, enhancing syntax highlighting capabilities. Existing file references in 'out_embed/all.hpp' have been updated accordingly.Add new highlighting styles and GitHub CSS to project Introduced two new image styles, "brown-papersq" and "pojoaque", for highlighting. Additionally, embedded GitHub's CSS files as header files in the `saucer::embedded` namespace to enhance syntax highlighting features. These changes aim to improve the visual styling and customization options for code presentation.
This commit is contained in:
10
out_embed/highlight/languages/asciidoc.js.hpp
Normal file
10
out_embed/highlight/languages/asciidoc.js.hpp
Normal file
File diff suppressed because one or more lines are too long
10
out_embed/highlight/languages/asciidoc.min.js.hpp
Normal file
10
out_embed/highlight/languages/asciidoc.min.js.hpp
Normal file
File diff suppressed because one or more lines are too long
10
out_embed/highlight/languages/http.js.hpp
Normal file
10
out_embed/highlight/languages/http.js.hpp
Normal file
File diff suppressed because one or more lines are too long
10
out_embed/highlight/languages/http.min.js.hpp
Normal file
10
out_embed/highlight/languages/http.min.js.hpp
Normal file
File diff suppressed because one or more lines are too long
10
out_embed/highlight/languages/json.js.hpp
Normal file
10
out_embed/highlight/languages/json.js.hpp
Normal file
File diff suppressed because one or more lines are too long
10
out_embed/highlight/languages/json.min.js.hpp
Normal file
10
out_embed/highlight/languages/json.min.js.hpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <cstdint>
|
||||
|
||||
namespace saucer::embedded
|
||||
{
|
||||
static constexpr std::array<std::uint8_t, 516> f9WyAbPBHunlndnFRNaGuJBHy4lrjCKXD9JVJ8cfDDbdlfCnDwk5nXOL9HjtSf1gxtLA9QZ = {
|
||||
0x2f, 0x2a, 0x21, 0x20, 0x60, 0x6a, 0x73, 0x6f, 0x6e, 0x60, 0x20, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x61, 0x72, 0x20, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x48, 0x69, 0x67, 0x68, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x2e, 0x6a, 0x73, 0x20, 0x31, 0x31, 0x2e, 0x31, 0x30, 0x2e, 0x30, 0x20, 0x2a, 0x2f, 0xa, 0x28, 0x28, 0x29, 0x3d, 0x3e, 0x7b, 0x76, 0x61, 0x72, 0x20, 0x65, 0x3d, 0x28, 0x28, 0x29, 0x3d, 0x3e, 0x7b, 0x22, 0x75, 0x73, 0x65, 0x20, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x22, 0x3b, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x20, 0x65, 0x3d, 0x3e, 0x7b, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x20, 0x61, 0x3d, 0x5b, 0x22, 0x74, 0x72, 0x75, 0x65, 0x22, 0x2c, 0x22, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x22, 0x2c, 0x22, 0x6e, 0x75, 0x6c, 0x6c, 0x22, 0x5d, 0x2c, 0x73, 0x3d, 0x7b, 0xa, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x3a, 0x22, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x22, 0x2c, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x3a, 0x61, 0x2e, 0x6a, 0x6f, 0x69, 0x6e, 0x28, 0x22, 0x20, 0x22, 0x29, 0x7d, 0x3b, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x22, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x2c, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x3a, 0x5b, 0x22, 0x6a, 0x73, 0x6f, 0x6e, 0x63, 0x22, 0x5d, 0x2c, 0xa, 0x6b, 0x65, 0x79, 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0x45, 0x52, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x2c, 0x65, 0x2e, 0x43, 0x5f, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x2c, 0x65, 0x2e, 0x43, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5d, 0x2c, 0xa, 0x69, 0x6c, 0x6c, 0x65, 0x67, 0x61, 0x6c, 0x3a, 0x22, 0x5c, 0x5c, 0x53, 0x22, 0x7d, 0x7d, 0x7d, 0x29, 0x28, 0x29, 0x3b, 0x68, 0x6c, 0x6a, 0x73, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x28, 0x22, 0x6a, 0x73, 0x6f, 0x6e, 0x22, 0x2c, 0x65, 0x29, 0x7d, 0x29, 0x28, 0x29, 0x3b };
|
||||
} // namespace saucer::embedded
|
||||
10
out_embed/highlight/languages/lua.js.hpp
Normal file
10
out_embed/highlight/languages/lua.js.hpp
Normal file
File diff suppressed because one or more lines are too long
10
out_embed/highlight/languages/lua.min.js.hpp
Normal file
10
out_embed/highlight/languages/lua.min.js.hpp
Normal file
File diff suppressed because one or more lines are too long
10
out_embed/highlight/languages/markdown.js.hpp
Normal file
10
out_embed/highlight/languages/markdown.js.hpp
Normal file
File diff suppressed because one or more lines are too long
10
out_embed/highlight/languages/markdown.min.js.hpp
Normal file
10
out_embed/highlight/languages/markdown.min.js.hpp
Normal file
File diff suppressed because one or more lines are too long
10
out_embed/highlight/languages/shell.js.hpp
Normal file
10
out_embed/highlight/languages/shell.js.hpp
Normal file
File diff suppressed because one or more lines are too long
10
out_embed/highlight/languages/shell.min.js.hpp
Normal file
10
out_embed/highlight/languages/shell.min.js.hpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <cstdint>
|
||||
|
||||
namespace saucer::embedded
|
||||
{
|
||||
static constexpr std::array<std::uint8_t, 330> fdM8RmRybyXVMyJLl3NloVCcC3hdqcun8ISXH1beAaBQCo8pFaYJwXsVNwlcUSgy8rZUSUfj = {
|
||||
0x2f, 0x2a, 0x21, 0x20, 0x60, 0x73, 0x68, 0x65, 0x6c, 0x6c, 0x60, 0x20, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x61, 0x72, 0x20, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x48, 0x69, 0x67, 0x68, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x2e, 0x6a, 0x73, 0x20, 0x31, 0x31, 0x2e, 0x31, 0x30, 0x2e, 0x30, 0x20, 0x2a, 0x2f, 0xa, 0x28, 0x28, 0x29, 0x3d, 0x3e, 0x7b, 0x76, 0x61, 0x72, 0x20, 0x73, 0x3d, 0x28, 0x28, 0x29, 0x3d, 0x3e, 0x7b, 0x22, 0x75, 0x73, 0x65, 0x20, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x22, 0x3b, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x20, 0x73, 0x3d, 0x3e, 0x28, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x22, 0x53, 0x68, 0x65, 0x6c, 0x6c, 0x20, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x2c, 0xa, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x3a, 0x5b, 0x22, 0x63, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x65, 0x22, 0x2c, 0x22, 0x73, 0x68, 0x65, 0x6c, 0x6c, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x5d, 0x2c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x3a, 0x5b, 0x7b, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x3a, 0x22, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x22, 0x2c, 0xa, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x3a, 0x2f, 0x5e, 0x5c, 0x73, 0x7b, 0x30, 0x2c, 0x33, 0x7d, 0x5b, 0x2f, 0x7e, 0x5c, 0x77, 0x5c, 0x64, 0x5b, 0x5c, 0x5d, 0x28, 0x29, 0x40, 0x2d, 0x5d, 0x2a, 0x5b, 0x3e, 0x25, 0x24, 0x23, 0x5d, 0x5b, 0x20, 0x5d, 0x3f, 0x2f, 0x2c, 0x73, 0x74, 0x61, 0x72, 0x74, 0x73, 0x3a, 0x7b, 0x65, 0x6e, 0x64, 0x3a, 0x2f, 0x5b, 0x5e, 0x5c, 0x5c, 0x5d, 0x28, 0x3f, 0x3d, 0x5c, 0x73, 0x2a, 0x24, 0x29, 0x2f, 0x2c, 0xa, 0x73, 0x75, 0x62, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x3a, 0x22, 0x62, 0x61, 0x73, 0x68, 0x22, 0x7d, 0x7d, 0x5d, 0x7d, 0x29, 0x7d, 0x29, 0x28, 0x29, 0x3b, 0x68, 0x6c, 0x6a, 0x73, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x28, 0x22, 0x73, 0x68, 0x65, 0x6c, 0x6c, 0x22, 0x2c, 0x73, 0x29, 0x7d, 0x29, 0x28, 0x29, 0x3b };
|
||||
} // namespace saucer::embedded
|
||||
10
out_embed/highlight/languages/sql.js.hpp
Normal file
10
out_embed/highlight/languages/sql.js.hpp
Normal file
File diff suppressed because one or more lines are too long
10
out_embed/highlight/languages/sql.min.js.hpp
Normal file
10
out_embed/highlight/languages/sql.min.js.hpp
Normal file
File diff suppressed because one or more lines are too long
10
out_embed/highlight/languages/xml.js.hpp
Normal file
10
out_embed/highlight/languages/xml.js.hpp
Normal file
File diff suppressed because one or more lines are too long
10
out_embed/highlight/languages/xml.min.js.hpp
Normal file
10
out_embed/highlight/languages/xml.min.js.hpp
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user