Skip to content

bug: output doesn't render when empty #57

@awennersteen

Description

@awennersteen

Description of the bug

A recent PR> seems to have changed drastically the behaviour of this plugin by not rendering empty output.

Rendering such cases is useful for example when making tutorials or examples, as you can insert comments between codeblocks in a session.

Both behaviors seem very desireable though. Perhaps this can be toggleable?

An example where this affected us:

https://pasqal-io.github.io/qadence/latest/tutorials/digital_analog_qc/analog-qcl/
with source:
https://github.com/pasqal-io/qadence/blob/main/docs/tutorials/digital_analog_qc/analog-qcl.md

To Reproduce

a=1+1

Expected behavior

The above should render

Proposal

To keep both options is it possible to support syntax such as

a=1+1

I'd be happy to give this a shot an implement it but would like to know the desired direction, and perhaps some pointers to get started.

Thanks for the great plugin!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions