maaslalani/slides

Graph does not show properly

Opened this issue · 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

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

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 :)

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 ]
~~~
```

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 !

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

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.