1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Include Markdown information in textarea

Former-commit-id: 346bfed7dc6f156b1687057d80db88706f1d2ebb
This commit is contained in:
Zack Scholl 2017-03-28 10:37:06 -06:00
parent 4af9b87519
commit 7d50c644e5
3 changed files with 1218 additions and 2 deletions

1215
bindata.go Normal file

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
0689ef697703381e56db9e318921ec13f34f56f5

View File

@ -436,7 +436,9 @@
<div id="wrap">
{{ if .DontKnowPage }} <strong><center>{{ .Route }} not understood!</center></strong>{{ end }}
{{ if .ViewPage }} {{ .RenderedPage }} {{ end }}
{{ if .EditPage }} <textarea autofocus placeholder="Start typing, it will save automatically." id="userInput">{{ .RawPage }}</textarea>{{ end }}
{{ if .EditPage }} <textarea autofocus placeholder="Start typing, it will save automatically.
Use Markdown for formatting and links (also make links like [[this]])." id="userInput">{{ .RawPage }}</textarea>{{ end }}
{{ if .HistoryPage }}
<h1>History</h1>
<ul>