Skip to content

Comments

Update plaintext functionality#765

Merged
cossssmin merged 2 commits intomasterfrom
update-plaintext
Sep 28, 2022
Merged

Update plaintext functionality#765
cossssmin merged 2 commits intomasterfrom
update-plaintext

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