Additionally, if a template with a certain name exists (e.g. QuickEntry), then that template should be used to format the information as it is appended to Today's page. For example, if QuickEntry is defined as such:
====================
=== ${title} ===
${text}
Then typing in, "Heinlein Quote: There ain't no such thing as a Free lunch! #tanstaafl" would be appended as thus:
====================
=== Heinlein Quote ===
There ain't no such thing as a Free lunch! #tanstaafl
You could either always parse on certain predefined separators (colon, semicolon, vertical-bar) or allow them to be configured. Also, instead of calling the fields ${title} and ${text}, they could just be numbered: ${1}, ${2}, ${3}.
Additionally, if a template with a certain name exists (e.g. QuickEntry), then that template should be used to format the information as it is appended to Today's page. For example, if QuickEntry is defined as such:
======= ======= ======
=== ${title} ===
${text}
Then typing in, "Heinlein Quote: There ain't no such thing as a Free lunch! #tanstaafl" would be appended as thus:
======= ======= ======
=== Heinlein Quote ===
There ain't no such thing as a Free lunch! #tanstaafl
You could either always parse on certain predefined separators (colon, semicolon, vertical-bar) or allow them to be configured. Also, instead of calling the fields ${title} and ${text}, they could just be numbered: ${1}, ${2}, ${3}.
======= ======= ======
=== ${1} ===
${2}
- ${3}
- ${4}
So, "Shopping List;Hardware Store;nuts;bolts" becomes:
======= ======= ======
=== Shopping List ===
Hardware Store
- nuts
- bolts
and, "Heinlein Quote: There ain't no such thing as a Free lunch! #tanstaafl" would be:
======= ======= ======
=== Heinlein Quote ===
There ain't no such thing as a Free lunch! #tanstaafl
-
-