diff --git a/website/content/sdk/reference/news.md b/website/content/sdk/reference/news.md index 5904d1658d3..2ab34b897c8 100644 --- a/website/content/sdk/reference/news.md +++ b/website/content/sdk/reference/news.md @@ -10,7 +10,7 @@ Get news for a given term and source. [Source: Feedparser] Source Code: [[link](https://github.com/OpenBB-finance/OpenBBTerminal/tree/main/openbb_terminal/common/feedparser_model.py#L13)] ```python -openbb..news(term: str = "", sources: str = "", sort: str = "published") +openbb.news(term: str = "", sources: str = "", sort: str = "published") ``` --- diff --git a/website/src/theme/CodeBlock/Content/String.js b/website/src/theme/CodeBlock/Content/String.js index 9169f512cea..884601d7eb8 100644 --- a/website/src/theme/CodeBlock/Content/String.js +++ b/website/src/theme/CodeBlock/Content/String.js @@ -41,6 +41,9 @@ export default function CodeBlockString({ }); const showLineNumbers = showLineNumbersProp ?? containsLineNumbers(metastring); + + const shouldWordwrapByDefault = code.startsWith("openbb.") + return (