odpdown icon indicating copy to clipboard operation
odpdown copied to clipboard

Sometimes, new line in block code are not displayed

Open metal3d opened this issue 9 years ago • 6 comments

Nice work, really. I use odpdown with my project named vymad: I use VYM (mindmap tool) to manage my headings and content, then it converts the file to markdown that is treated with odpdown. But I have a strange problem.

Example: I have that content

Some text

```bash
at 10:00 AM
at 9:00 PM December 21 2016
at now + 2min
```

And in the odp file, I see:

image

I don't find how to fix it... any idea ?

metal3d avatar Feb 09 '16 22:02 metal3d

Good catch, there's one whitespace/lineend case missing. I'll get to that this week.

thorstenb avatar Feb 10 '16 13:02 thorstenb

No problem... That's just complicated, at this time, to manually fix more than 80 slides :(

Because I need it very quickly, I can try to change code (I'm python developper), but I don't know where I should start :p

metal3d avatar Feb 10 '16 13:02 metal3d

if you don't absolutely need bash highlighter, just using

```
at 10:00 AM 
at 9:00 PM December 21 2016
at now + 2min
```

works for me

thorstenb avatar Feb 10 '16 13:02 thorstenb

And see commit above for a hacky, untested, etc WIP fix ;)

thorstenb avatar Feb 10 '16 13:02 thorstenb

Hi, excuse me for late answer, I was very busy. I tried the last version (git clone) - the problem remains... Removing "bash" highlight is ok... but I need it for other slides. I'll check how to fix it

metal3d avatar Feb 15 '16 12:02 metal3d

See the screencap: image

The problem remains on last line

metal3d avatar Feb 15 '16 12:02 metal3d