| eleventyExcludeFromCollections |
|---|
true |
Lets take this time to show off the standard markdown rendering.
I really like using Markdown.
I think I'll use it to format all of my documents from now on.
This is the first line with two spaces after the period.
And this is the second line.
You can add emphasis by making text bold or italic.
I really like using Markdown.
I just love bold text.
Loveisbold
Italicized text is the cat's meow.
Italicized text is the cat's meow.
Acatmeow
This text is really important.
This text is really important.
This text is really important.
This text is really important.
This is reallyveryimportant text.
Dorothy followed her through many of the beautiful rooms in her castle.
Dorothy followed her through many of the beautiful rooms in her castle.
The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
Dorothy followed her through many of the beautiful rooms in her castle.
The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
- Revenue was off the chart.
- Profits were higher than ever.
Everything is going according to plan.
You can organize items into ordered and unordered lists.
- First item(1)
- Second item(2)
- Third item(3)
- Fourth item(4)
- First item(1)
- Second item(1)
- Third item(1)
- Fourth item(1)
- First item(1)
- Second item(8)
- Third item(3)
- Fourth item(5)
- First item
- Second item
- Third item
- Indented item
- Indented item
- Fourth item
- First item
- Second item
- Third item
- First item
- Second item
- Third item
- First item
- Second item
- Third item
- First item
- Second item
- Third item
- Indented item
- Indented item
- Fourth item
To add another element in a list while preserving the continuity of the list, indent the element four spaces or one tab, as shown in the following examples.
-
This is the first list item.
-
Here's the second list item.
I need to add another paragraph below the second list item.
-
And here's the third list item.
-
This is the first list item.
-
Here's the second list item.
A blockquote would look great below the second list item.
-
And here's the third list item.
-
Open the file.
-
Find the following code block on line 21:
<html> <head> <title>Test</title> </head> -
Update the title to match the name of your website.
To denote a word or phrase as code, enclose it in backticks (`).
At the command prompt, type nano.
Use `code` in your Markdown file.
To create code blocks, indent every line of the block by at least four spaces or one tab.
<html>
<head>
</head>
</html>
function hello() {
console.log('Hello, world!');
}import { Form, Label, TextAreaField, FieldError, Submit } from "@redwoodjs/web"
export const Comment = () => {
const onSubmit = (data) => {
console.info(`Submitted: ${data}`)
}
return (
<Form onSubmit={onSubmit}>
<Label name="comment" errorStyle={{ color: "red" }} />
<TextAreaField
name="comment"
errorStyle={{ borderColor: "red" }}
validation={{ required: true }}
/>
<FieldError name="comment" errorStyle={{ color: "red" }} />
<Submit>Send</Submit>
</Form>
)
}```js//17,29-36
// api/db/schema.prisma
datasource DS {
provider = "sqlite"
url = env("DATABASE_URL")
}
generator client {
provider = "prisma-client-js"
binaryTargets = "native"
}
model Post {
id Int @id @default(autoincrement())
title String
body String
comments Comment[]
createdAt DateTime @default(now())
}
model Contact {
id Int @id @default(autoincrement())
name String
email String
message String
createdAt DateTime @default(now())
}
model Comment {
id Int @id @default(autoincrement())
name String
body String
post Post @relation(fields: [postId], references: [id])
postId Int
createdAt DateTime @default(now())
}
