import { RendererLike } from '@connectv/html'
import { File } from 'rxline/fs'
import {
Page,
Meta,
ContentNav,
Fonts,
ToC,
GithubSearch$,
} from '@codedoc/core/components'
import { config } from '../config'
import { Header } from './header'
import { Footer } from './footer'
export function content(
_content: HTMLElement,
toc: HTMLElement,
renderer: RendererLike,
file: File
) {
return (
}
fonts={}
scripts={config.page.scripts}
stylesheets={config.page.stylesheets}
header={}
footer={}
toc={
) : (
false
)
}
>
{toc}
}
>
{_content}
)
}