Commits
- Commit:
721a55a9e57cebcde535bfaa77e3bbaae956d55b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
handle non-closed verbatim blocks and nil-ify empty labels
The idea behind the ``` marker is to toggle the preformatted bit on
and off, so it's not strictly speaking a "verbatim block", even if
it's easier to manage it that way.
However, don't throw generic errors like that, and handle EOF without
a closing ``` marker. While here, if label is the empty string, use
nil.
- Commit:
385d8c27124fbdf6686d98559ae01dc9c6a8acd0
- From:
- aartaka <aartaka@protonmail.com>
- Via:
- omar-polo <op@omarpolo.com>
- Date:
gemtext: Use accessors.
- Commit:
a73493792e50f418dc91d5565572e510f007d004
- From:
- aartaka <aartaka@protonmail.com>
- Via:
- omar-polo <op@omarpolo.com>
- Date:
gemtext: Type link URLs as strictly quri:uri-s.
- Commit:
4800325e843eb78d81f26caa2e281fd33257405c
- From:
- aartaka <aartaka@protonmail.com>
- Via:
- omar-polo <op@omarpolo.com>
- Date:
gemtext: Enrich gemtext classes definitions.
This adds:
- :type options.
- :documentation options.
- :accessor options.
- Class predicates.
Wherever applicable.
- Commit:
588b55fbdbdb143bad22870345f7d91d8e7b7bf5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
Handle gracefully invalid link lines
`=>` without other fields is not a valid link line, so let's handle it
by parsing it as a paragraph with the "=>" text in it.
- Commit:
bcb8cfe712a86826bed02978c4258b92bc3efbf9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
refactor the gemtext parser
The old one had various issue, for instance it failed to parse
"#hello", and could mis-interpret lines starting with "=". The new
one is more robust and handles optional spaces better.
- Commit:
336bee9ca0449e41d9ad18fe1f3b8dcb50f3a89a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add the line-eq generic function
it's useful for the (future) tests being able to compare lines.
- Commit:
e9a5e4f6741fc27471ed075066c1358908ff9cf3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
provide a default value for :text
- Commit:
1beaad39356a9582cd6e37bdeb9663f0ca7c17c3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop debug comment
- Commit:
272dc9db9f9b4d4aec058228fd28d94f1bff82b4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
~% instead of terpri
we need to terminate the line on the given stream, not on
*standard-output*!
- Commit:
880e501071836f3c872a3e8ed996d7e88255f962
- From:
- omar-polo <op@omarpolo.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Merge pull request #1 from aartaka/blockquote
Add blockquote support.
- Commit:
5d750cb8221cca83b8aeccd4405926b08fef3143
- From:
- aartaka <aartaka@protonmail.com>
- Date:
gemtext.lisp: Add blockquote support.
- Commit:
0276d7708733672f17b88aacd62a3092b0137019
- From:
- Omar Polo <op@omarpolo.com>
- Date:
revert the relative-to hack
was added only to ease the job of the UI, but it isn’t the right
place. The UI should do that type of checks, the parsers shouldn’t
mangle URIs.
- Commit:
073b25eb0b22b8306c6e711aff1483a20be2f8f8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
now it can even display pages!
- Commit:
6b4d9ef20633b7e62988eb86b6e18da1e67519b2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
initial commit