mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-26 09:32:25 +02:00
docs: revamp streaming how-to guides (#3239)
This commit is contained in:
@@ -22,6 +22,8 @@ class EscapePreprocessor(Preprocessor):
|
||||
)
|
||||
|
||||
elif cell.cell_type == "code":
|
||||
# Remove noqa comments
|
||||
cell.source = re.sub(r'#\s*noqa.*$', '', cell.source, flags=re.MULTILINE)
|
||||
# escape ``` in code
|
||||
cell.source = cell.source.replace("```", r"\`\`\`")
|
||||
# escape ``` in output
|
||||
|
||||
Reference in New Issue
Block a user