Header Errors - unable to recreate

This template is for bug report only:

  • Lettera Version:Version 1.0.0 (4091)
  • macOS Version: 26.5.2
  • What were you doing: reading MD file in external tool
  • What feature did you use: editor
  • What happened: I was receiving errors from 3rd party tool saying it was a bad MD format
  • What did you expect to happen: that there would be no MD errors

As mentioned in another post, I was receiving errors reading the MD file. I used https://babelmark.github.io to verify the MD and it pointed to the first position and first line which was a H2 bolded text. I removed the H2 iand it worked. I then went into my original file, removed the H2 and Bold syntax and recreated it via Lettera and the external 3rd party app is no longer giving me an error.

I had it happen to 2 MD files in the same folder and it was the first line with a H1 or H2 set.

Please just treat this an informational message just as something to watch. I don’t edit the files outside of Lettera. I suppose it’s possible that a 3rd party app made changes to it even though they are not editors. Feel free to change the optional tag from Bug to something else as you see fit.

-tom

That sounds like an invisible character made its way into the text, maybe via a copy/paste from a web page?

If it happens again, feel free to send me the file (as long as it doesn’t contain anything sensitive) and I’ll be happy to check what’s going on.

1 Like

happened again…I’m not sure but it seems to occur when I open the MD file with another app, in this case both versions of Marked. I’m not suggesting anything as I am not sure but I’ve been working through my workflow and have been testing different paths with both Marked v2 & v3.

this is the latest snippet of MD I pasted into https://babelmark.github.io and received the error.

The ‘true geese’, found only in the northern hemisphere, fall into two genera: ‘gray geese’ (Anser) and ‘black geese’ (Branta). Most species are highly migratory, many forming large, impressive flocks in winter.

Ducks are the most abundant and widespread wildfowl and comprise the largest and most varied subfamily, showing a high degree if adaptive evolution. Less terrestrial than swans and geese, they inhabit all kinds of fresh water and marine environments. The most familiar group is the dabbling ducks (Anatini), which includes Mallard (Anas platyrynchos), the ancestor of the ‘farmyard duck’. Other groups include the shelgeese and shelducks, steamer ducks, perching ducks, torrent ducks, pochard ducks, eiders, sea ducks, and stiftails.

Swans and geese have a bill adapted for grazing on aquatic as well as ground vegetation: in both groups, the bill has lamellae in the form of serrated, horny ‘teeth’ along the edge of the maxilla.

Error message:

Attached MD file too.

01 - Family Page.md (7.9 KB)

If you know of a better MD lint app to validate the MD format I’d love to try it as this doesn’t allow me to test the entire file at once.

I’ll look into it further to see if I can see some common trend or process that may help ID where it’s happening but as requested, just passing it along. I don’t believe it’s happening in the Lettera editor tbh because I have yet to encounter anything like this when I’m just writing.

It’s more of a disruption with the other tools not Lettera, everything seems to work just fine.

thanks -tom

Ah I see :slight_smile:

There’s nothing wrong with your Markdown file. Babelmark runs your text through a whole bunch of different Markdown libraries at once and most of them parse it just fine, but a couple flag it, which is almost always a quirk of that particular library rather than a problem with your file.

What are you trying to accomplish with babelmark? Depending on what you’re after, there might be a simpler way to check whether a file will render correctly in the specific app you care as babelmark is really more of a developer tool for comparing parser behaviour.

But the short version: your file is fine, nothing to worry about :slight_smile:

Thanks. I was getting an error in Marked that was telling me it couldn’t process that file but it didn’t say why.

I’m working with them on a different issue which they acknowledged is a problem and are going to fix it.

sorry for all the distractions I’ve just been trying to get my end to end process nailed down before spending a lot of time writing . I want to be sure the pieces all work.

Other than the “nice to have” items I’ve shared, Lettera is working just fine for me.

I’ll figure it out, thanks. -tom