Skip to content

Commit

Permalink
fix: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
edvinasjurele committed Dec 20, 2023
1 parent 3068a3e commit 0376588
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
13 changes: 10 additions & 3 deletions demo/src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export interface Props {
const { title } = Astro.props;
---

<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand All @@ -25,7 +25,14 @@ const { title } = Astro.props;
background-color: #f6f6f6;
}
code {
font-family: Menlo, Monaco, Lucida Console, Liberation Mono,
DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;
font-family:
Menlo,
Monaco,
Lucida Console,
Liberation Mono,
DejaVu Sans Mono,
Bitstream Vera Sans Mono,
Courier New,
monospace;
}
</style>
8 changes: 4 additions & 4 deletions lib/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "storyblok-rich-text-astro-renderer",
"version": "2.0.0",
"type": "module",
"description": "Renders Storyblok rich text content to Astro elements.",
"keywords": [
"storyblok",
Expand All @@ -20,6 +19,7 @@
},
"license": "MIT",
"author": "Edvinas Jurele",
"type": "module",
"exports": {
".": {
"import": "./dist/index.mjs",
Expand Down Expand Up @@ -62,10 +62,10 @@
"peerDependencies": {
"astro": "^3.0.0 || ^4.0.0"
},
"publishConfig": {
"access": "public"
},
"volta": {
"node": "18.12.1"
},
"publishConfig": {
"access": "public"
}
}
2 changes: 1 addition & 1 deletion lib/src/utils/resolveRichTextToNodes.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ describe("resolveMark", () => {
blue: "this-is-blue",
red: "this-is-red",
pink: "this-is-pink",
}[color]);
})[color];

return {
props: {
Expand Down

0 comments on commit 0376588

Please sign in to comment.