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
We have conditional text that we'd like to display in a way that is similar to how Microsoft Learn docs do. See the example below. Is it possible to import the "pivots" or "moniker" functionality into the public version of DocFX?
In Choose your platform, click Windows. The end of the url changes to pivots=devices-windows. The contents of the article changes, too. You can observe that by focusing on the text in the In this article section and clicking different platform buttons.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We have conditional text that we'd like to display in a way that is similar to how Microsoft Learn docs do. See the example below. Is it possible to import the "pivots" or "moniker" functionality into the public version of DocFX?
pivots=devices-windows
. The contents of the article changes, too. You can observe that by focusing on the text in the In this article section and clicking different platform buttons.Looking at the source, I see the following:
:::zone pivot="devices-..."
and:::zone-end
syntaxI'm unable to replicate the desired behavior using v 2.70.0.
Beta Was this translation helpful? Give feedback.
All reactions