slides icon indicating copy to clipboard operation
slides copied to clipboard

Graph does not show properly

Open patrickelectric opened this issue 2 years ago • 6 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Run the example on readme
  2. Go to slide number 5

Expected behavior The graph does not show propeprly

Screenshots image

Desktop (please complete the following information):

  • OS: Arch
  • Version Latest

patrickelectric avatar Sep 25 '23 13:09 patrickelectric

You will have to download the graph-easy library and it has to be in the $PATH

Narayanbhat166 avatar Oct 06 '23 05:10 Narayanbhat166

I have the same problem and I do have graph-easy on $PATH. I'm running slides on an ARM Mac.

Update: for some reason it works if I pipe slides to tee: slides slide.md | tee :)

kubukoz avatar Oct 26 '23 01:10 kubukoz

I just stumbled upon the same problem. The issue is that the preprocessor output is also interpreted as Markdown. And then, text separated by a single newline is joined together.

The solution is as simple as wrapping the preprocessed part in triple backquotes, as it is done in the README:

```
~~~graph-easy --as=boxart
[ A ] - to -> [ B ]
~~~
```

gramosg avatar Nov 01 '23 17:11 gramosg

I just stumbled upon the same problem. The issue is that the preprocessor output is also interpreted as Markdown. And then, text separated by a single newline is joined together.

The solution is as simple as wrapping the preprocessed part in triple backquotes, as it is done in the README:

[ A ] - to -> [ B ]

that's works for me. Thanks !

zongpingding avatar Jan 14 '24 15:01 zongpingding

The solution is as simple as wrapping the preprocessed part in triple backquotes, as it is done in the README:

```
~~~graph-easy --as=boxart
[ A ] - to -> [ B ]
~~~
```

Is seems like when when you do it without triple backquotes it tries to join all generated lines BECAUSE is's Markdown rule: if few lines doesn't have blank line between then, then isn't one paragraph that will be joined in one line

tymbaca avatar Mar 02 '24 22:03 tymbaca

I just stumbled upon the same problem. The issue is that the preprocessor output is also interpreted as Markdown. And then, text separated by a single newline is joined together.

The solution is as simple as wrapping the preprocessed part in triple backquotes, as it is done in the README:

[ A ] - to -> [ B ]

This fix should be in the official doc.

kforeverisback avatar Jun 24 '24 23:06 kforeverisback