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

Update plaintext functionality #765

Merged
merged 2 commits into from Sep 28, 2022
Merged

Update plaintext functionality #765

merged 2 commits into from Sep 28, 2022

Conversation

cossssmin
Copy link
Member

@cossssmin cossssmin commented Sep 28, 2022

New features

<not-plaintext>

Added a <not-plaintext> tag that you can use to discard content from a plaintext version while keeping it in the HTML.

For example:

<div>Show everywhere</div>
<plaintext>Show in plaintext</plaintext>
<not-plaintext>
  <p>Show only in HTML</p>
</not-plaintext>

Plaintext:

Show everywhere
Show in plaintext

HTML:

<div>Show everywhere</div>
<p>Show only in HTML</p>

Fixes

@cossssmin cossssmin merged commit 31b0adb into master Sep 28, 2022
@cossssmin cossssmin deleted the update-plaintext branch September 28, 2022 12:37
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.

[DOCS] Top level plaintext config does not work in 4.0.0
1 participant