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
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
With #15475 and pulumi/pulumi-terraform-bridge#1689, incoming schema description: fields on TF based providers now wrap all code blocks with <!--Start PulumiCodeChooser -->
and <!--End PulumiCodeChooser --> HTML tags.
A solution here would ensure that <!--Start PulumiCodeChooser -->" is recognized and swapped out for a real code chooser div. The tricky bit is recognizing the language highlight andsetting the language-specific choosable.
Affected area/feature
Docsgen
The text was updated successfully, but these errors were encountered:
Hello!
Issue details
With #15475 and pulumi/pulumi-terraform-bridge#1689, incoming schema
description:
fields on TF based providers now wrap all code blocks with<!--Start PulumiCodeChooser -->
and
<!--End PulumiCodeChooser -->
HTML tags.This includes nested type descriptions! 🎉
We currently do not provide any handling for code blocks found in nested type descriptions, with can result in a rendered page stretching out all code blocks without a chooser.
More details:
I looked around a generated page with the new HTML tag wrappers looks like this:
and the
<!-- raw HTML omitted -->
seems to be replaced by our Markdown parser/renderer here.A solution here would ensure that
<!--Start PulumiCodeChooser -->"
is recognized and swapped out for a real code chooser div. The tricky bit is recognizing the language highlight andsetting the language-specific choosable.Affected area/feature
Docsgen
The text was updated successfully, but these errors were encountered: