OvermindDL1

joined 1 year ago
[–] OvermindDL1 8 points 1 year ago (1 children)

Hack, just outright, so clean and clear and easy to read.

[–] OvermindDL1 1 points 1 year ago* (last edited 1 year ago)

Yeah I thought ![...](...) in markdown is supposed to map to the img tag in html?

In fact, I'm almost certain of it... sec...

Yes, I'm right!

https://spec.commonmark.org/0.30/#images

![blah](blorp.vwoop) maps to, by the very spec itself: < img src="blorp" alt="blah" title="vwoop" /> (sans space because post stripping though, why are tags in code blocks stripped by the server instead of escaped???)

So if it links a youtube video... that... doesn't make sense? It's the img tag, not the link tag. It looks like Sync is correct here, it's putting it in an img tag, which is doing precisely what is expected for it to do?

[–] OvermindDL1 1 points 1 year ago

Testing some code syntax highlighting (may or may not work depending on UI being used):

fn blah(a: u32) -> Result {
  Ok(a*2)
}
function blah(a) {
  return a*2;
}

Nested (more backticks on our fence nest lesser backticks inside):

```
Example nested
```