Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on sh.itjust.works

70 replies

My only objection to that is that its source code isn't easily human-readable, like Markdown's is. The point of an .md file is that a human and a computer can both parse it just as easily as a native format.

3
Fmstratreply
lemmy.world

Sure they are. They're intended to be as easy to read for a human as possible.

2
lemmy.world

No. The primary purpose of programming languages is to be machine-readable first, human-readable second. The primary purpose of both markdown and plaintext is to be equally readable by both humans and machines.

1
Fmstratreply
lemmy.world

Assembly, perhaps. But not every other language. Every other language's sole purpose is to be easier than assembly to read by humans, so it can be compiled or translated through an engine into something a machine can read.

Machines do not read Rust. Machines do not read C++. Machines do not read JavaScript. Humans do.

2
lemmy.world

Machines do read Rust. Just because those machines are compiling the Rust code doesn't mean they aren't reading it. And every affordance the Rust devs included to make it easier for that compiler to do its job makes it harder for humans to read, but Markdown's affordances are equally helpful for humans as for computers; and they're designed to be so because they were adapted from shorthand that was already in use.

1
lemmy.cafe

you will change you mind yourself when your - key breaks from all the

--------------------------------------

HEADINGS

--------------------------------------

29

Md is aweeesoooome. It's legit the only way I can think when I'm planning anything big enough to plan.

2
fedia.io

I wouldn't dare try to understand the mind that thinks that Markdown is at all like html. 🤷‍♂️

28

I mean, Markdown was specifically designed to be convertable to HTML. So, it is structurally rather similar. It's basically just a bunch of aliases for a subset of HTML tags.

Having said that, it is also designed to be plain text. You don't have to convert it, and even when you do convert it, there's a good chance that what you've written in plain text will look fine in converted Markdown as well.
For the purposes of this meme, I would certainly group it with plain text.

5
r1ckreply
sh.itjust.works

They are both at the end of the day UTF-8 text.

5
lemmy.dbzer0.com

Markdown would be better if everyone using it used the same markdown. I swear no two places use it the same.

26
Victorreply
lemmy.world

I need to get into Typst. Been hearing about it a lot for a good while.

4
INeedManareply
piefed.zip

I checked Typst out a bit. It couldn't do a specific, niche thing I want to do but in general it felt really nice. Definitely feels newer than LaTeX and with less technical debt/baggage. A bit more limited but still nice

And for some reason it seems there's no community for Typst on Threadiverse

4
Victorreply
lemmy.world

Thank you for sharing! I haven't even looked at it yet — I imagine it's like a supercharged Markdown, with ways to interlink documents and that kind of jazz? Am I way off?

2

Looks beautiful, wow. Very simple. I so wish I had this through my uni days. LaTeX was pretty powerful but it was pretty painful sometimes as well.

2

The orgmode site doesn't display properly on my phone. I can't even scroll horizontally to read the text. 😂

4

Just start using it? Watch some tutorials for the basic keybindings, copy a config from someone else and try to understand what's going on and from there on you can start building your own config. Theres also a ton of information available on how to do specific things.

1

They're almost the same thing, so this kinda' hits like two people arguing over which shitbox $300 car they drive is faster...

6
feddit.uk

Markdown is so annoying. I wanted to record a command in Joplin and had the audacity to make it bold to highlight something. Pasted it into their terminal and it put a bunch of asterisks in. Thanks.

4

If they wanted to make a specific part of the command bold, that still wouldn't work.

Could underline the part, I guess, like this:

ls -la
   ###

(# starts a comment in shell syntax, so doesn't get run, in case someone pastes the whole thing.)

1

It does format text in the editor pane by default now but uses a big warning with a button to disable it.

However, the built-in code highlighter, much
like in many Lemmy frontends, highlights
some words/symbols depending on the default
language. Therefore, it's best to not use 
4 spaces at the start of each line for a code block.
Instead, this one starts with "```text" and 
ends with "```". No extra indents and I get
to specify the highlighting language!

Edit: Damn

2

Hmm, interesting. I always write Markdown unformatted, so where I put the asterisks in myself. So, that's a decent reality check, I guess.

1

Ngl plain txt is the best . But not for writing blog . Need something like # for headings and stuff . To make my blog portable i don't use mardow much just # for heading and # for tag

4