You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for multiline Markdown inside Block components.
The default homepage layout has lots of places where text can be included inside "Block" components that take a config object. This can be difficult to manage if the text is long or contains formatting. It seems like single lines can contain Markdown links and basic formatting, but any multiline strings are treated as code blocks (monospaced).
constFeatures=()=>(<Blocklayout="fourColumn">{[{content: "some text",// markdown here?image: `${baseUrl}img/logo-large.png`,imageAlign: "top",title: "Feature One"},{content: "The content of my second feature",image: `${baseUrl}img/logo-large.png`,imageAlign: "top",title: "Feature Two"}]}</Block>);
Alternately, accepting React nodes for content would work, because you can use the MarkdownBlock component.
🚀 Feature
(This may be a bug 🐞?)
Add support for multiline Markdown inside Block components.
The default homepage layout has lots of places where text can be included inside "Block" components that take a config object. This can be difficult to manage if the text is long or contains formatting. It seems like single lines can contain Markdown links and basic formatting, but any multiline strings are treated as code blocks (monospaced).
Alternately, accepting React nodes for content would work, because you can use the MarkdownBlock component.
Have you read the Contributing Guidelines on issues?
yes
The text was updated successfully, but these errors were encountered: