chore: format llm c files
C++ / fmt (pull_request) Failing after 4s
C++ / build (pull_request) Failing after 9s
JS/TS / lint (pull_request) Successful in 9s
JS/TS / fmt (pull_request) Successful in 16s
C++ / clang-tidy (pull_request) Failing after 43s
Python / static (pull_request) Failing after 57s
Rust / fmt (pull_request) Successful in 1m30s
Rust / build (pull_request) Successful in 2m5s
Rust / clippy (pull_request) Successful in 1m55s
Python / verify (pull_request) Successful in 2m23s
C++ / fmt (pull_request) Failing after 4s
C++ / build (pull_request) Failing after 9s
JS/TS / lint (pull_request) Successful in 9s
JS/TS / fmt (pull_request) Successful in 16s
C++ / clang-tidy (pull_request) Failing after 43s
Python / static (pull_request) Failing after 57s
Rust / fmt (pull_request) Successful in 1m30s
Rust / build (pull_request) Successful in 2m5s
Rust / clippy (pull_request) Successful in 1m55s
Python / verify (pull_request) Successful in 2m23s
This commit is contained in:
@@ -5,18 +5,6 @@
|
||||
|
||||
namespace ZShell::llm {
|
||||
|
||||
// Splits a markdown document into top-level blocks for QML rendering
|
||||
// (cmark-gfm AST walk). Inline structure is not flattened; Text and
|
||||
// Heading blocks carry markdown source that QML renders with
|
||||
// Text.MarkdownText.
|
||||
//
|
||||
// Block map keys:
|
||||
// "type" int (LlmMarkdown::Type)
|
||||
// "level" int (Heading)
|
||||
// "language" QString (Code, lowercased, empty when unknown)
|
||||
// "code" QString (Code)
|
||||
// "text" QString (Text/Heading, markdown source)
|
||||
// "latex" QString (Math, without the $$ delimiters)
|
||||
class MarkdownParser {
|
||||
public:
|
||||
[[nodiscard]] static QVariantList parse(const QString& source);
|
||||
|
||||
Reference in New Issue
Block a user