this post was submitted on 17 Aug 2023
0 points (50.0% liked)

Emacs

314 readers
2 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
0
submitted 1 year ago* (last edited 1 year ago) by rglullis to c/emacs
top 3 comments
sorted by: hot top controversial new old
[–] oantolin@discuss.online 1 points 1 year ago (2 children)

What's with all the occurrences of \n?

[–] rglullis 1 points 1 year ago

Oh, I am sorry! That was me experimenting with Lemmy's SDK to see if I could create a post out of a reddit submission. My original idea was to use the output from readability, convert it to markdown and then save in the "body" field, but only after I ran it on some of posts I noticed that I was getting a byte stream instead of a string. This is why the body starts with \b and has all the \n.

I edited the body on my post, but it seems that the updated has propagated through the different instances?

[–] rglullis 1 points 1 year ago

Also, it seems that the post you made yesterday didn't make to my instance. I need to find out if the issue is on which end is the issue.