1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-18 12:45:32 -04:00

separate out inline code and code block components

This commit is contained in:
2022-04-11 19:05:01 -04:00
parent f684babb95
commit 8641b6a90e
14 changed files with 290 additions and 264 deletions

View File

@@ -0,0 +1,9 @@
import Code from "../Code";
import { styled } from "../../lib/styles/stitches.config";
const CodeInline = styled(Code, {
padding: "0.2em 0.3em",
pageBreakInside: "avoid",
});
export default CodeInline;

View File

@@ -0,0 +1,2 @@
export * from "./CodeInline";
export { default } from "./CodeInline";