mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-21 23:16:48 +00:00
SEO 优化首屏加载体积
This commit is contained in:
@@ -8,8 +8,12 @@ const katexSettings = {
|
||||
strict: false
|
||||
}
|
||||
|
||||
/**
|
||||
* 数学公式
|
||||
* @param {} param0
|
||||
* @returns
|
||||
*/
|
||||
export const Equation = ({ block, math, inline = false, className, ...rest }) => {
|
||||
// const { recordMap } = useNotionContext()
|
||||
math = math || getBlockTitle(block, null)
|
||||
if (!math) return null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user