This is an example markdown file to demonstrate the capabilities of the MDViewer application.
Bold text and italic text work perfectly. You can also use strikethrough text.
Here's some Go code with syntax highlighting:
package main
import (
"fmt"
"net/http"
)
func main() {
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Hello, World!")
})
fmt.Println("Server starting on :8080")
http.ListenAndServe(":8080", nil)
}Inline code: fmt.Println("Hello, World!")
| Feature | Status | Notes |
|---|---|---|
| Markdown Parsing | ✅ | Using goldmark |
| Syntax Highlighting | ✅ | Multiple languages |
| Responsive Design | ✅ | Pico CSS framework |
| Dark Mode | ✅ | Automatic detection |
- Set up project structure
- Implement markdown parsing
- Add syntax highlighting
- Create beautiful templates
- Add search functionality
- Add file editing capability
This is a blockquote. It's great for highlighting important information or quotes from other sources.
You can have multiple paragraphs in a blockquote too.
- First item
- Second item
- Nested item
- Another nested item
- Third item
- First step
- Second step
- Third step
- Sub-step A
- Sub-step B
Visit the Go website for more information about Go programming.
Auto-linking works too: https://github.com/yuin/goldmark
Go : A programming language developed by Google
Markdown : A lightweight markup language for creating formatted text
templ : A language for writing HTML user interfaces in Go
This is a sentence with a footnote1.
Here's another footnote2.
While not enabled by default, you could add mathematical expressions:
- Inline math: E = mc²
- Block math expressions could be added with additional plugins
The application supports emoji in markdown!
- 📚 Documentation
- 🚀 Performance
- 🎨 Beautiful design
- 🔧 Easy to use
This example demonstrates the rich formatting capabilities available in the MDViewer application. The combination of goldmark's powerful parsing with Pico CSS's beautiful styling creates an excellent markdown viewing experience.
Try editing this file and refreshing to see the changes!