Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graph does not show properly #261

Open
patrickelectric opened this issue Sep 25, 2023 · 6 comments
Open

Graph does not show properly #261

patrickelectric opened this issue Sep 25, 2023 · 6 comments

Comments

@patrickelectric
Copy link

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
@Narayanbhat166
Copy link

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

@kubukoz
Copy link

kubukoz commented Oct 26, 2023

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

@gramosg
Copy link

gramosg commented Nov 1, 2023

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

@zongpingding
Copy link

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 !

@tymbaca
Copy link

tymbaca commented Mar 2, 2024

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

@kforeverisback
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants