turtl / tracker

This project is for tracking issues, bug reports, and progress on the entire Turtl project.
67 stars 3 forks source link

markdown code wrapper #314

Open popindavibe opened 5 years ago

popindavibe commented 5 years ago

Hello! Congrats for the new client update!

I have a feature request to enable code block wrapping in Turtl.

I was trying it today after discovering the option on CodiMD: it would be very nice to handle code wrapping if requested using ```! Likewise the <Wrap prewrap> on Dokuwiki.

While it should stay optional and not be default, sometimes it can be really useful (thinking of my oneliners here ;-) ).

orthecreedence commented 5 years ago

Hello, I'm not sure I understand what you mean by code wrapping. Does it mean if you do something like

```!
var myvar = my_code_here_which_has_a_very_long_line()
```

Will that line wrap to the next line instead of staying ont he same line of ! is after the opening backticks?

popindavibe commented 5 years ago

Yes, exactly.