~araspik

~araspik/jasi-discuss

Last active 15 days ago

~araspik/jasi-devel

Last active 15 days ago

~araspik/jasi-announce

Last active 15 days ago

~araspik/statme

Last active 2 months ago
View more

Recent activity

[PATCH sr.ht-docs v1] Update markdown documentation 7 hours ago

From ARaspiK to ~sircmpwn/sr.ht-dev

The recent misaka->mistletoe shift left the markdown documentation in
need of an update, so here it is.
---
 markdown/index.md | 62 +++++++++++++++++++++++------------------------
 1 file changed, 31 insertions(+), 31 deletions(-)

diff --git a/markdown/index.md b/markdown/index.md
index 4837b34..c5816a8 100644
--- a/markdown/index.md
+++ b/markdown/index.md
@@ -2,65 +2,65 @@
title: Markdown on sourcehut
---

[message trimmed]

[PATCH core.sr.ht v1] Markdown: Parse plain links and email addresses 10 hours ago

From ARaspiK to ~sircmpwn/sr.ht-dev

CommonMark doesn't actually specify that plain URLs (e.g.
https://example.com) should be linkified.  So the switch to mistletoe
removed support for linkifying plain URLs.  This fixes the regression.

Specifically, this parses:

 * URLs of the form <scheme>://<path>
 * Email addresses of the form <username>@<domain>
---
Candidate patch for ~sircmpwn/todo.sr.ht#222.

 srht/markdown.py | 34 +++++++++++++++++++++++++++++-----
 1 file changed, 29 insertions(+), 5 deletions(-)
[message trimmed]

[PATCH scm.sr.ht v11] Replace misaka (hoedown) with mistletoe 4 days ago

From ARaspiK to ~sircmpwn/sr.ht-dev

It looked like using hoedown (through misaka), which is very
unmaintained, was leading to a lot of issues (see [0]). This replaces
misaka by mistletoe [1], without losing any functionality (I hope).

This affects the call to 'markdown()', removing the now-redundant
argument for the tag whitelist.

[0]: https://todo.sr.ht/~sircmpwn/sr.ht/20
[1]: https://github.com/miyuchina/mistletoe
---
Rebased.

 scmsrht/formatting.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
[message trimmed]

[PATCH paste.sr.ht v11] Replace misaka (hoedown) with mistletoe 4 days ago

From ARaspiK to ~sircmpwn/sr.ht-dev

It looked like using hoedown (through misaka), which is very
unmaintained, was leading to a lot of issues (see [0]). This replaces
misaka by mistletoe [1], without losing any functionality (I hope).

This affects the call to 'markdown()', removing the now-redundant
argument for the tag whitelist.

[0]: https://todo.sr.ht/~sircmpwn/sr.ht/20
[1]: https://github.com/miyuchina/mistletoe
---
Rebased.

 pastesrht/filters.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
[message trimmed]

[PATCH man.sr.ht v11] Replace misaka (hoedown) with mistletoe 4 days ago

From ARaspiK to ~sircmpwn/sr.ht-dev

It looked like using hoedown (through misaka), which is very
unmaintained, was leading to a lot of issues (see [0]). This replaces
misaka by mistletoe [1], without losing any functionality (I hope).

This affects the call to 'markdown()', removing the now-redundant
argument for the tag whitelist.

[0]: https://todo.sr.ht/~sircmpwn/sr.ht/20
[1]: https://github.com/miyuchina/mistletoe
---
Rebased.

 mansrht/blueprints/html.py | 1 -
 1 file changed, 1 deletion(-)
[message trimmed]

[PATCH hub.sr.ht v11] Replace misaka (hoedown) with mistletoe 4 days ago

From ARaspiK to ~sircmpwn/sr.ht-dev

It looked like using hoedown (through misaka), which is very
unmaintained, was leading to a lot of issues (see [0]). This replaces
misaka by mistletoe [1], without losing any functionality (I hope).

This affects the call to 'markdown()', removing the now-redundant
argument for the tag whitelist.

[0]: https://todo.sr.ht/~sircmpwn/sr.ht/20
[1]: https://github.com/miyuchina/mistletoe
---
Rebased.

 hubsrht/services.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
[message trimmed]

[PATCH git.sr.ht v11] Replace misaka (hoedown) with mistletoe 4 days ago

From ARaspiK to ~sircmpwn/sr.ht-dev

It looked like using hoedown (through misaka), which is very
unmaintained, was leading to a lot of issues (see [0]). This replaces
misaka by mistletoe [1], without losing any functionality (I hope).

This affects the call to 'markdown()', removing the now-redundant
argument for the tag whitelist.

[0]: https://todo.sr.ht/~sircmpwn/sr.ht/20
[1]: https://github.com/miyuchina/mistletoe
---
Now with correct subjectPrefix.

 gitsrht/blueprints/repo.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
[message trimmed]

[PATCH core.sr.ht v11] Replace misaka (hoedown) with mistletoe 4 days ago

From ARaspiK to ~sircmpwn/sr.ht-dev

It looked like using hoedown (through misaka), which is very
unmaintained, was leading to a lot of issues (see [0]). This replaces
misaka by mistletoe [1], without losing any functionality (I hope).

I tested this by setting up a local Git repository with all 649
CommonMark test cases as individual markdown files, then downloading the
HTML of the corresponding web page, extracting the relevant pieces, and
comparing them with the expected results. I got many more mismatches
than I expected, but it seemed that they were all minor stylistic
issues:

* Resulting headers included an 'id' attribute
* Resulting links include a 'rel' attribute
* The test cases strictly quoted all symbols using `&blah;` notation
[message trimmed]

[PATCH v11] Replace misaka (hoedown) with mistletoe 4 days ago

From ARaspiK to ~sircmpwn/sr.ht-dev

It looked like using hoedown (through misaka), which is very
unmaintained, was leading to a lot of issues (see [0]). This replaces
misaka by mistletoe [1], without losing any functionality (I hope).

This affects the call to 'markdown()', removing the now-redundant
argument for the tag whitelist.

[0]: https://todo.sr.ht/~sircmpwn/sr.ht/20
[1]: https://github.com/miyuchina/mistletoe
---
Rebased.

 gitsrht/blueprints/repo.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
[message trimmed]