Spyke
photon·PhotonbyXylight

[tag1,tag2] [tag3] New markdown renderer

This will be a test post for markdown, as I'm switching to a faster markdown renderer that will allow me to do some cool stuff, like allow expanding images and running my code in markdown.

It might release with v1.31.2.

View original on lemm.ee
lemm.ee

h1

h2

h3

bold italic

![email protected]

@[email protected]

[email protected]

link


code

code block

wow subscript

wow ^superscript^

cursed link by people who dont know how lemmy works:

[email protected]

this is a block quote

::: spoiler test neaky :::

just some regular text

  • list item 1
  • list item 2
  1. ordered list
  2. it's pretty useless

::: spoiler this is a spoiler with more complex stuff wow this is so cool

it even has header support now

:::

ItemIn StockPrice
Python HatTrue23.99
SQL HatTrue23.99
Codecademy TeeFalse19.99
Codecademy HoodieFalse42.99

``` this is an escaped blockquote ```

3
Blisterexereply
lemmy.zip

The html parser message... Is that a problem for a non-web based mobile app?

1

I should have specified it to say "if this opens in a popup"

1
dubvee.org

What one did you go with? I switched to magidoc/plugin-svelte-marked and have been pretty happy with it. The only thing I lost were sub- and superscript.

1
Xylightreply
lemm.ee

Nevermind, this renderer won't work because there's no way to disable the autolinking for some reason?

1

I have the /c /u, ! and @ formats working (via pre processing) but without those, yeah, they turn into mailto: links.

Is still on my list of things to double back on.

2
lemmy.zip

does this mean that the post text preview will have markdown?

1
WFH
lemm.ee

There is something going on with mentions, but otherwise awesome work!

1
Xylightreply
lemm.ee

Uh, the new markdown renderer isn't released yet, but it does fix this issue.

1

You reached the end

[tag1,tag2] [tag3] New markdown renderer | Spyke