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

@repl output rendering woes #108

Closed
thofma opened this issue Apr 3, 2024 · 1 comment
Closed

@repl output rendering woes #108

thofma opened this issue Apr 3, 2024 · 1 comment

Comments

@thofma
Copy link
Contributor

thofma commented Apr 3, 2024

Thanks for #104! I did some more testing and noticed that DV is confused when output is suppressed with ; or contains #. For example

```@repl
1 + 1;
1 + 2;
[1, 2]
1 + 3
```

```@repl
1 + 1; # hide
1 + 2;
[1, 2]
1 + 4
```

gets rendered as

Screenshot 2024-04-03 at 08 49 27 Note that there are superfluous newlines at the beginning and missing newlines in between.

The HTML writer handles this (a bit) better:

Screenshot 2024-04-03 at 08 56 02
thofma added a commit to thofma/DocumenterVitepress.jl that referenced this issue Apr 4, 2024
Closes issue LuxDL#108
@thofma thofma mentioned this issue Apr 4, 2024
@thofma
Copy link
Contributor Author

thofma commented Apr 4, 2024

Fixed by #111

@thofma thofma closed this as completed Apr 4, 2024
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

1 participant