123
Introduction 1.1 2. Headers
This is a test document for Markdown features. Markdown allows you to write in an easy-to-read format that can be converted into HTML.
This is italic
This is bold
This is bold and italicThis is strikethrough
Inline code
has back-ticks around
it.
# This is a code block
def hello_world():
print("Hello, world!")
import { useState } from "react";
const Slides = () => {
const images = [
{
src: eventPicture,
width: 500, // replace with the actual width of the image
height: 300,
},
{
src: thirdPicture,
width: 500, // replace with the actual width of the image
height: 300, // replace with the actual height of the image
},
// ... other images
];
const [currentImageIndex, setCurrentImageIndex] = useState(0);
const nextImage = () => {
setCurrentImageIndex((prevIndex) =>
prevIndex === images.length - 1 ? 0 : prevIndex + 1
);
};