HackerTrans
TopNewTrendsCommentsPastAskShowJobs

bjeanes

no profile record

comments

bjeanes
·hace 4 años·discuss
I just preceded the asterisks with a backslash.
bjeanes
·hace 4 años·discuss
> My biggest complaint is that asterisks map to <strong> and underscores map to <em> (in HTML terms). This is not backwards-compatible with Markdown where (asterisk)foo(asterisk) gets you <em>foo</em>, and it feels objectively backwards, if that makes sense. I wonder if there's any chance they could reverse that.

Interesting. I suspect something like this will always be subjective, but I find the opposite to be true. *bold* and _italics_ make the most sense to me and is always what I wished Markdown did.

Probably, this is because I was familiar with Textile[1] before I used Markdown, and this is what it does.

Today, Slack also uses this convention instead of the Markdown convention (though I believe it _used_ to use the latter).

[1]: https://textile-lang.com/
bjeanes
·hace 4 años·discuss
You've made the thing in my brain I've wanted to build for a while but which felt too hard. And you've made it self-hostable! You legend... thank you!
bjeanes
·hace 4 años·discuss
> Has to anyone asked ChatGPT to refactor existing horrible code?

I'm not sure if "horrible" but I did experiment with getting it to refactor some code. I also gave it code with a bug and asked it to fix it (I described the bug), which it was able to do. I didn't test very complicated scenarios though. In the bug fix case, it was code to wrap, indent, and prefix a block of text.