From abd633bd268db512a39e93063610bb74d3fd6d49 Mon Sep 17 00:00:00 2001 From: Ingvar Stepanyan Date: Fri, 4 Oct 2024 19:54:38 +0100 Subject: [PATCH] Mark code blocks in docs as text --- src/api/autogen/index.ts | 2 ++ src/api/mod.rs | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/api/autogen/index.ts b/src/api/autogen/index.ts index 641c5d9..fd4533c 100644 --- a/src/api/autogen/index.ts +++ b/src/api/autogen/index.ts @@ -698,6 +698,8 @@ function stringifyDoc(doc: string | undefined = '') { .replace(/^`(.+?)\.?`\s*(.*)$/s, '$2\n\n_$1._') // If there is no summary, split out first sentence as summary. .replace(/^(.*?(?