Non-Markdown files should not use markdown rendering

  • Lettera Version: 1.0.0 (3980)
  • macOS Version: 26.5.1 (25F80)
  • What were you doing: Opening a folder containing various file formats
  • What feature did you use: None. just opening listed files, whether they are Markdown files or not
  • What happened: Most non-Markdown files were opened as plain text; but some were falsely rendered as if they were Markdown. i.e. I opened a bash script with a .sh extension; the inline comments prefixed with # were rendered as H1 headings :person_facepalming:
  • What did you expect to happen: Non-Markdown files, especially if their extension is not .md or .markdown should not be rendered as Markdown.

I’d personally prefer all files that are not Markdown files are rendered read-only with syntax highlighting enabled, the very same one used for code-blocks.

For context; I open my development/code project folders in Lettera. Those projects contain scripts and various other files beside the main focus of markdown files.

1 Like