diff --git a/frontend/src/views/Docs.jsx b/frontend/src/views/Docs.jsx index 342b439f..9536dad7 100755 --- a/frontend/src/views/Docs.jsx +++ b/frontend/src/views/Docs.jsx @@ -122,7 +122,7 @@ export const Paragrah = (props) => { return ( -
+ {isNote && Tips:} + {isNote ? textContent.replace("[!TIP]", "").trim() : children} ++ ); + }; + + const Heading = (props) => { const [hover, setHover] = useState(false); var id = props.children[0].toLowerCase().toString() @@ -840,6 +864,12 @@ const Docs = (defaultprops) => { fontSize: isMobile ? "1.3rem" : "1.1rem", }; + const alertNote = { + padding: "10px", + borderLeft: "5px solid #f86a3e", + backgroundColor: "rgb(26,26,26)", + }; + const CustomButton = (props) => { const { title, icon, link } = props @@ -974,9 +1004,11 @@ const Docs = (defaultprops) => { h6: Heading, a: OuterLink, p: Paragrah, + blockquote: Blockquote, } + // PostDataBrowser Section const postDataBrowser = list === undefined || list === null ? null : (