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

feat: add no_background property #368

Merged
merged 1 commit into from
Sep 12, 2024
Merged

feat: add no_background property #368

merged 1 commit into from
Sep 12, 2024

Conversation

mfontanini
Copy link
Owner

This renames the no_margin attribute added in #363 to no_background and makes it do everything no_margin did but also prevents presenterm from adding a background to the snippet. This currently doesn't play well with exec_replace or exec meaning the snippet execution output still gets background. I will address this separately as there's other things I want to get to but I want to close this issue.

The following

```text +no_background
.__    .__
|  |__ |__|   _____   ____   _____
|  |  \|  |  /     \ /  _ \ /     \
|   Y  \  | |  Y Y  (  <_> )  Y Y  \
|___|  /__| |__|_|  /\____/|__|_|  /
     \/           \/             \/
```

Currently renders like this after this change:

image

Fixes #349

@mfontanini mfontanini merged commit 41db0f6 into master Sep 12, 2024
6 checks passed
@mfontanini mfontanini deleted the feat/no-background branch September 12, 2024 23:23
@chris-t-jansen
Copy link

header_no_background

This worked perfectly for me, thank you so much! Exactly what I needed.

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

Successfully merging this pull request may close these issues.

Best way to display multi-line blocks?
2 participants