eludom
eludom

@manton I’m trying to post curious.port111.com/uploads/2024/2024-10-10-leave-ot-off-two-weeks-in.md as a blog post. When I paste it into the text window and preview, it looks reasonable. When posted, all the text is wrapped. It previews fine in another MD tool. Clues? Alternatives? Thanks.

|
Embed
Progress spinner
manton
manton

@eludom I just copy/pasted your Markdown into a new test blog post and it’s rendering correctly for me with the links, headings, etc. Is the problem on your blog or in the Micro.blog timeline? For the timeline, it does need a title otherwise it will be truncated and squished together.

|
Embed
Progress spinner
eludom
eludom

@manton blog. Posted with a title. It’s getting squished. curious.port111.com/2024/10/1…

I pasted into editor, added the title and posted. It’s wrapping.

I think I can upload the .md directly in a .zip file? (I got command line API working a bit ago, not used much)​

|
Embed
Progress spinner
manton
manton

@eludom Oh! I think that theme shows the “summary” field. Mind changing the theme and see if that fixes it? If you like that theme there are ways around it, though.

|
Embed
Progress spinner
eludom
eludom

@manton Thanks. What is a theme that does not show the summary? I’ll try it.

|
Embed
Progress spinner
manton
manton

@eludom I don’t think any of the other themes use the summary. I recommend trying Sumo or Marfa.

|
Embed
Progress spinner
eludom
eludom

@manton Marfa doing the same thing

curious.port111.com/2024/10/1…

|
Embed
Progress spinner
eludom
eludom

@eludom Trying Sumo

|
Embed
Progress spinner
eludom
eludom

@eludom Same :-/

|
Embed
Progress spinner
manton
manton

@eludom Something seems wrong with the text that is being pasted in. Which platform or app are you using? I checked your blog for the original text and it doesn’t have any return characters in it.

|
Embed
Progress spinner
eludom
eludom

@manton creating .md in emacs on Linux. Copy/paste into editor window. Works if I add ^M after ^J at end of each line. Kinda clunky. I expect I’m not the only Unix user pasting text.
If you’re touching the code for the editor, maybe convert bare ^J to ^J^M with account config option?​ Thanks.

|
Embed
Progress spinner
manton
manton

@eludom Sorry about that. I’m sure we can fix it. Another option to try in the meantime is maybe a web app that works with Micro.blog on the web, like quill.p3k.io.

|
Embed
Progress spinner
eludom
eludom

@manton Thanks. May check out quill, but the workflow of copy (in emacs) paste (in micro.blog) is dirt simple and I’ll probably stick to that.

Of course, emacs being emacs, I can probably add a hook, ​macro, minor mode or some such to just always tack ^M on if the file type is .md

|
Embed
Progress spinner
eludom
eludom

@manton Also, FWIW, the lure if writing your own editor is strong. Many of the places I’ve worked going back over 40 years found some excuse to write one. I’ve toyed with a couple, including what became Micro[GNU]Emacs/mg.

|
Embed
Progress spinner
eludom
eludom

@manton FWIW I still have to manually change end of line from “^J” (standard Unix) to “^M^J” (carriage return, line-feed …. MS-DOS/Window’s hold-over standard from the days of typewriters) when I copy and past .md files into the micro.blog editor.

It would be good if the editor did the conversion.

|
Embed
Progress spinner
manton
manton

@eludom Thanks, I’m testing this change now and will roll it out today. It at least doesn’t seem to be causing any additional problems to normalize to carriage return, line-feed.

|
Embed
Progress spinner