1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-10-30 11:46:16 +00:00
Commit Graph

36 Commits

Author SHA1 Message Date
Timur Ismagilov
b45be35247
Merge pull request #34 from hugmouse/0.13
Fix lexer for "----" (<hr/>) case
2021-03-05 13:53:27 +05:00
hugmouse
62c616985d
Replace old method with new that is a little overcomplicated 2021-03-05 16:29:39 +08:00
hugmouse
8dfd2fcf9b
Fix lexer for "----" (<hr/>) case
The point is that there may be another character in the string.
For example, a space or a line break.

Because we check the whole string, not the first 4 characters - we can ignore the variant where it can be "----\s" or "----\r\n" and make the wrong markup.

Alternatively: use `startsWith("----")`, but this is a bit more expensive operation.
2021-03-05 14:34:56 +08:00
bouncepaw
fbf94975aa Add anchor links 2021-03-02 21:36:57 +05:00
bouncepaw
d9cc757546 Find backlinks on wiki start 2021-02-19 14:23:57 +05:00
bouncepaw
5cafaaa3d8 Add proof-of-concept Gemini output of /hypha/ 2021-02-09 19:35:02 +05:00
bouncepaw
9fbcab210a Make autolinks ignore several characters 2021-01-31 21:50:44 +05:00
bouncepaw
b4e866446e Make img galleries use the new link abstraction 2021-01-31 21:39:08 +05:00
bouncepaw
dd98ae492b Start moving universal link-related stuff to a separate module 2021-01-31 00:25:18 +05:00
bouncepaw
e3b4c75f79 Add /user-list page 2021-01-30 23:21:50 +05:00
bouncepaw
9316e671b6 Move the protocol icons to the left, change svg icon colors 2021-01-24 13:18:59 +05:00
bouncepaw
cec494da30 Fix display text separators being recognised as table row separators 2021-01-10 18:33:36 +05:00
bouncepaw
b1f33c872c Make account system concurrent-safe and refactor it a little 2021-01-10 01:49:48 +05:00
bouncepaw
184aa1ae32 Support mycomarkup in blockquotes 2021-01-04 02:18:23 +05:00
bouncepaw
bee862563d Auto-detect links 2021-01-04 02:10:33 +05:00
bouncepaw
987dc5b20f Support consecutive lines in paragraphs 2021-01-04 01:39:54 +05:00
bouncepaw
4d2be01b85 Add tables to mycomarkup 2021-01-01 09:07:56 +05:00
bouncepaw
598a87f878 Fix incorrect display text in links 2020-12-17 19:58:11 +05:00
bouncepaw
7b9375da39 Implement OpenGraph meta tags 2020-12-17 17:59:59 +05:00
bouncepaw
df26dfe511 Fix icons being escaped in paragraphs 2020-12-16 00:05:51 +05:00
bouncepaw
8ac27fc385 Improve links visually 2020-12-15 23:59:36 +05:00
bouncepaw
c89b0702ab Handle relative paths in img 2020-12-01 15:05:57 +05:00
bouncepaw
c984790d3d Reimplement images 2020-11-26 23:41:26 +05:00
bouncepaw
17877ca585 Do not ignore empty lines in preformatted blocks 2020-11-21 13:52:20 +05:00
bouncepaw
c111e95468 Support formatting in headings 2020-11-12 23:21:49 +05:00
bouncepaw
8bc3fb9821 Strike-through tag 2020-11-11 22:42:31 +05:00
bouncepaw
3c6e2aa16f Add inline links 2020-11-04 22:42:02 +05:00
bouncepaw
1fbbf81794 Make a better recent changes page 2020-11-04 16:00:17 +05:00
bouncepaw
7a0e9ebcc9 Fix wrong ordered list closing on empty lines 2020-11-03 21:46:27 +05:00
bouncepaw
a1bce73751 Fix extra hyphae appearing and wrong red link coloring 2020-11-03 21:39:06 +05:00
bouncepaw
55597dddf2 Fix some lexer bugs 2020-11-03 21:10:17 +05:00
bouncepaw
a58baa64c3 Add numbered lists 2020-11-03 20:47:22 +05:00
bouncepaw
3620c6e9b5 Add img tag 2020-11-03 20:41:50 +05:00
bouncepaw
9ad22b5cf8 Add horizontal bar and formatting to lists 2020-11-03 17:27:26 +05:00
bouncepaw
4c852f60c4 Close unclosed tags at end of paragraph 2020-10-30 18:34:10 +05:00
bouncepaw
d6c6ad4ae3 Implement some features of mycomarkup 2020-10-30 18:25:48 +05:00