Spellcheck for faq

Also add a nice serif text font.
This commit is contained in:
Robin Malley 2020-12-28 04:23:43 +00:00
parent 3a22c15dcd
commit 450cc76d13
2 changed files with 16 additions and 17 deletions

View File

@ -10,14 +10,14 @@
<main class="wrapper">
<h1>FAQ</h1>
An attempt to answer frequently asked questions, and document
the detail of site features. As with all software documentation,
the details of site features. As with all software documentation,
this is how the developer <b>thinks</b> these things work,
to find out how things actually work, see the source code.
<h2>How do a register an account?</h2>
<h2>How do I register an account?</h2>
You can go <a href="/_claim">here</a> to register an account,
although you can also post pastes and comments anonymously.
<h2>Parsers? What are those?</h2>
Parsers are the way you can style the text you post. While
Parsers are how you can style the text you post. While
this software started as a pastebin clone, the need to style
text better than pastebin.com quickly became apparent. Two
parsers are currently available:
@ -37,9 +37,7 @@
<p>Surround text with forum-style [spoiler] and [/spoiler] tags as a second way to <span class="spoiler2">spoiler</span>
<p>Surround text with forum-style [code] and [/code] tags to make it
<pre><code>
Preformatted and monospace
</code></pre>
<pre><code>Preformatted and monospace</code></pre>
<p>If you have incomplete markup at the end, it shouldn't break anything, let me know if it does.
<h2>How does search work?</h2>
@ -47,33 +45,33 @@ Preformatted and monospace
At it's most simple, it searches stories based on tags,
but it can also filter stories based on: title, author,
date, and hits. In general, the syntax for search is
<code>+|-&lt;field&gt;&gt;operator&lt;&gt;value&lt;</code>
<code>{+-} &lt;field&gt; &lt;operator&gt; &lt;value&gt;</code>
<p>The first <code>+</code> or <code>-</code> specifies
weather to include or exclude results based on this
search, the <code>&lt;field&gt;</code> specifies what
field to search for (or search based on tag if this is
missing), and <code>&lt;operator&gt;</code> specifies
how to search.
<p>For title, and author, the only allowed operator is
<code>=</code>. This operator will search for the text
<p>For title and author, the only allowed operator is
<code>=</code>. This operator will search for <code>&lt;value&gt;</code>
appearing anywhere in the field, case insensitive. For
hits and time, the allowed operators are
<code>&gt;</code>,<code>&lt;</code>,<code>&gt;=</code>,
<code>&lt;=</code>,<code>=</code>, which searches for
greater than, less than, greater than or equal to, less
than or equal to, and strictly equal to, respectively.
Tag does not need a field or operator, and only allows
Tag does not need a <code>&lt;field&gt;</code> or <code>&lt;operator&gt;</code>, and only allows
exact matches. As a quirk of this system, it is
impossible to search for the tags "author", "title",
"hits" or "date",
"hits" or "date".
Examples:
<p>Examples:
<pre><code>+author=admin -meta</code></pre>
Will return all stories by the users "admin" and "badminton_enthusiast" that do not include the "meta" tag.
<pre><code>+hits&gt;20 -date&lt;=1609459201</code></pre>
Will return all stories with more than 20 hits that were posted before January 1, 2021 (unix timestamp 1609459201).<br/>
While the date field is a little hard to use for humans, it may be useful for robots.
<p>Will return all stories by the users "admin" and "badminton_enthusiast" that do not include the "meta" tag.
<pre><code>+hits&gt;20 -date&gt;=1609459201</code></pre>
<p>Will return all stories with more than 20 hits that were posted before January 1, 2021 (unix timestamp 1609459201).
<p>While the date field is a little hard to use for humans, it may be useful for robots.
<h2>How do I enable reader mode on my story?</h2>
Unfortunately, there is no web standard about how reader
modes for different browsers work, and no way to hint to

View File

@ -4,7 +4,8 @@ body{
line-height:1.6;
font-size:18px;
color:#444 !important;
padding:0 10px
padding:0 10px;
font-family: "Garamond","Baskerville","Baskerville Old Face","Hoefler Text","Times New Roman","serif";
}
h1,h2,h3{line-height:1.2}
p,.tag-list{margin-bottom:0px}