Philip-Scott / Notes-up

Markdown notes editor & manager
GNU General Public License v2.0
620 stars 47 forks source link

Line breaks in 'code' formatting #396

Open rayfoster14 opened 2 years ago

rayfoster14 commented 2 years ago

Expected Behavior

Would be great to have line breaks in code formatting

Current Behavior

When wrapping code sections of notes with `, adding new lines breaks the formatting. It is seen as plan text,

Possible Solution

Steps to Reproduce (for bugs)

  1. Wrap text with `, ``, or ``` and add more than one line between paragraphs

Context

All code sections will be set to wrap around in one block. Would be great to just copy and paste code without having to individually wrap each line in ` for correct formatting

Screenshots of the Problem

Your Environment (for bugs)