Diffdown is a real-time collaborative Markdown editor/previewer built on the AT Protocol diffdown.com
at main 13 lines 425 B view raw
1{{template "base" .}} 2{{define "content"}} 3<div class="form-page"> 4 <h2>New Document</h2> 5 <form method="post" action="/docs/new"> 6 <div class="form-group"> 7 <label for="title">Title</label> 8 <input type="text" id="title" name="title" required autofocus placeholder="My Document"> 9 </div> 10 <button type="submit" class="btn">Create Document</button> 11 </form> 12</div> 13{{end}}