You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This integration sets several implicit attribute values, such as imagesdir. It should be possible to unset these attributes, either globally or per page, while still allowing the attribute to be set in the document. We'll call this a "soft" unset.
The text was updated successfully, but these errors were encountered:
The first proposal is to combine the negated attribute (!name) with the soft set flag, @.
'!name' => '@'
The problem with this proposal is that it's being considered for core as a way to unset implicit attributes in Asciidoctor itself. If we hijack it, then we may lose that ability.
The other is to use a subtraction syntax:
'-name' => ''
The latter is implemented in the Jekyll plugin. We could support the second syntax until the fate of the first syntax is resolved.
As part of this change, custom attributes should be resolved after all implicit attributes (imagesdir, imagesoutdir, relfilesuffix, etc) are assigned by this extension.
mojavelinux
added a commit
to mojavelinux/middleman-asciidoc
that referenced
this issue
Dec 14, 2017
This integration sets several implicit attribute values, such as
imagesdir
. It should be possible to unset these attributes, either globally or per page, while still allowing the attribute to be set in the document. We'll call this a "soft" unset.The text was updated successfully, but these errors were encountered: