From 949af8abe5b5f3a80f6db7115d5072f00d836e4d Mon Sep 17 00:00:00 2001 From: Really Him Date: Tue, 25 Mar 2025 17:58:37 -0400 Subject: [PATCH] docs(pregel): One-line markdown formatting quick-fix (#4023) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description I noticed a very minor issue in the formatting of the Concepts > Pregel doc: (https://langchain-ai.github.io/langgraph/concepts/pregel/#high-level-api) (https://github.com/langchain-ai/langgraph/blob/main/docs/docs/concepts/pregel.md) You can see in the image below that there is a python codeblock, then a pycon block, and inside that block there is an extra triple-backtick/code fence, and then text at the bottom, which it appears like it is supposed to be a separate python block, like the one above it. I.e., clearly: ``` ```python print(graph.channels) ``` is intended to be: ```python print(graph.channels) ``` I'm pretty sure this is due to an extra whitespace character before the preceding closing code fence, which is throwing off the formatting. ![image](https://github.com/user-attachments/assets/616d72d6-652b-4599-be3e-55c47766861d) My VS-Code/extensions can't really render the Markdown the way it appears on the Website, I think because of the tabs (Graph API vs. Functional API), but I noticed that if I remove the extra whitespace, the highlighting on the python codeblock is corrected: BEFORE: Screenshot 2025-03-25 at 5 02 41 PM AFTER: Screenshot 2025-03-25 at 5 02 50 PM ## Fix * Remove one whitespace character that was throwing off markdown rendering --- docs/docs/concepts/pregel.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/concepts/pregel.md b/docs/docs/concepts/pregel.md index 1d4a1f2e7..232919ef4 100644 --- a/docs/docs/concepts/pregel.md +++ b/docs/docs/concepts/pregel.md @@ -284,7 +284,7 @@ LangGraph provides two high-level APIs for creating a Pregel application: the [S {'__start__': , 'write_essay': , 'score_essay': } - ``` + ``` ```python print(graph.channels) @@ -344,4 +344,4 @@ LangGraph provides two high-level APIs for creating a Pregel application: the [S {'write_essay': } Channels: {'__start__': , '__end__': , '__previous__': } - ``` \ No newline at end of file + ```