diff options
author | vvvv <[email protected]> | 2025-10-06 11:26:09 +0300 |
---|---|---|
committer | vvvv <[email protected]> | 2025-10-06 11:53:26 +0300 |
commit | 60f45e69a4d7dbc6131208e16c45faf35aa5a985 (patch) | |
tree | 4daa45b52c295a178c7620e4c93921465fcf7950 /yql/essentials/utils/docs/markdown.h | |
parent | 1bded1a65a7e6e9171418f3e1c691d390125b64e (diff) |
YQL-20086 utils
init
commit_hash:54feccd520ebd0ab23612bc0cb830914dff9d0e8
Diffstat (limited to 'yql/essentials/utils/docs/markdown.h')
-rw-r--r-- | yql/essentials/utils/docs/markdown.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/yql/essentials/utils/docs/markdown.h b/yql/essentials/utils/docs/markdown.h index 6b5477ac253..ebc9707f52a 100644 --- a/yql/essentials/utils/docs/markdown.h +++ b/yql/essentials/utils/docs/markdown.h @@ -7,23 +7,23 @@ namespace NYql::NDocs { - struct TMarkdownHeader { - TString Content; - TMaybe<TString> Anchor; - }; +struct TMarkdownHeader { + TString Content; + TMaybe<TString> Anchor; +}; - struct TMarkdownSection { - TMarkdownHeader Header; - TString Body; - }; +struct TMarkdownSection { + TMarkdownHeader Header; + TString Body; +}; - struct TMarkdownPage { - TString Text; - THashMap<TString, TMarkdownSection> SectionsByAnchor; - }; +struct TMarkdownPage { + TString Text; + THashMap<TString, TMarkdownSection> SectionsByAnchor; +}; - using TMarkdownCallback = std::function<void(TMarkdownSection&&)>; +using TMarkdownCallback = std::function<void(TMarkdownSection&&)>; - TMarkdownPage ParseMarkdownPage(TString markdown); +TMarkdownPage ParseMarkdownPage(TString markdown); } // namespace NYql::NDocs |