|
|
@@ -3,6 +3,9 @@ import { Element } from 'react-markdown/lib/rehype-filter';
|
|
|
import { NextLink } from './NextLink';
|
|
|
|
|
|
|
|
|
+import styles from './Header.module.scss';
|
|
|
+
|
|
|
+
|
|
|
type EditLinkProps = {
|
|
|
line?: number,
|
|
|
}
|
|
|
@@ -38,7 +41,7 @@ export const Header = (props: HeaderProps): JSX.Element => {
|
|
|
const CustomTag = `h${level}` as keyof JSX.IntrinsicElements;
|
|
|
|
|
|
return (
|
|
|
- <CustomTag id={id} className="revision-head">
|
|
|
+ <CustomTag id={id} className={`revision-head ${styles['revision-head']} ${styles.hoge}`}>
|
|
|
{children}
|
|
|
<NextLink href={`#${id}`} className="revision-head-link">
|
|
|
<span className="icon-link"></span>
|