From 838d3dcdfefbed2e08562639c0f4494a812e7839 Mon Sep 17 00:00:00 2001 From: TennesseeTrash Date: Mon, 16 Jun 2025 20:33:47 +0200 Subject: [PATCH] Update the README with current API --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 39210af..df391ea 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,12 @@ void AnimateFile(const Path& source, const Path& destination, std::string Animate(const std::string& source, const AnimationSettings& settings = AnimationSettings::Default()); + +void RemoveStrokeNumbers(const std::string& source, const std::string& destination, + const RemovalSetttings& settings = RemovalSetttings::Default()); + +std::string RemoveStrokeNumbers(const std::string& source, + const RemovalSetttings& settings = RemovalSetttings::Default()); ``` The former function takes in two paths, where the first one specifies the file to be read, and @@ -113,7 +119,7 @@ Some caveats: The default settings generate a table with no characters (and horrible styling), you will need to specify custom settings like this for actual use: ```cpp -auto doc = GeneratePage({ +auto doc = GeneratePage(std::vector(), { .FullDocument = Flag::Enable, .OverrideIndentLevel = Flag::Disable, .IndentLevel = 0,