aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorniklas <niklas@niklashalle.net>2020-11-12 14:47:18 +0100
committerniklas <niklas@niklashalle.net>2020-11-12 14:47:18 +0100
commit9a87a3500b835d1bbe29132fee3eef7ada973a5e (patch)
tree8c04de2e81355b69d2b01b5eb9e78294ad66de3f /src/main.cpp
parent0b0dba6c4b9d267c51b00f577db5bb7bf1726ac8 (diff)
parentee89b895d4f04baa1ea493fe916b3d499c4b4ec4 (diff)
downloadn_core-9a87a3500b835d1bbe29132fee3eef7ada973a5e.tar.gz
n_core-9a87a3500b835d1bbe29132fee3eef7ada973a5e.zip
Merge branch 'master' of git.niklashalle.net:n_core into HEAD
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index db05590..6b3ceb3 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -40,6 +40,11 @@ int main() {
"{adlershof, nord, sued} Shows the daily menu of the mensa at various places.");
}});
regular_commands.emplace_back(
+ Handler::CommandHandler{"latex", Handler::latexRenderHandler, [createPlainDescriptionFromText]() {
+ return createPlainDescriptionFromText(
+ "Renders the given string to a png");
+ }});
+ regular_commands.emplace_back(
Handler::CommandHandler{"klinger", Handler::klingerHandler, [createPlainDescriptionFromText]() {
return createPlainDescriptionFromText("Greats in french. Bonjour!");
}});