• Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Markdown doc says embedded HTML should work; it doesn't. This would be a huge workaround to the inordinate number of missing features in Markdown.

            [BCLOUD-6930] Support some or all HTML in Markdown (BB-6931)

            Luke Choe added a comment -

            Hi everyone,

            Thank you for your patience. The Bitbucket Cloud team has successfully shipped this feature to our customers! Attached are some screenshots of what this will look like. We are going to go ahead and close out this BCLOUD ticket, but please feel free to continue adding questions, comments, or any other feedback here.

            Best,
            Luke

            Luke Choe added a comment - Hi everyone, Thank you for your patience. The Bitbucket Cloud team has successfully shipped this feature to our customers! Attached are some screenshots of what this will look like. We are going to go ahead and close out this BCLOUD ticket, but please feel free to continue adding questions, comments, or any other feedback here. Best, Luke

            Ste Ba added a comment -

            I'm stoked to see what Atlassian has in store for this ticket! If it's in the stage of "Gathering Interest" a mere 9 years after it was opened, we'll surely have a first proposal of how Bitbucket could support some HTML elements by 2030!

            Ste Ba added a comment - I'm stoked to see what Atlassian has in store for this ticket! If it's in the stage of "Gathering Interest" a mere 9 years after it was opened, we'll surely have a first proposal of how Bitbucket could support some HTML elements by 2030!

            Gathering interest? really? only now?! When everyone moves away from Jira/Atlassian? Where were you years ago when we wanted this feature? What a shame! People have moved-on. This will be an excellent example on how to ignore your users for the offspring.

            Elie Zedeck added a comment - Gathering interest? really? only now?! When everyone moves away from Jira/Atlassian? Where were you years ago when we wanted this feature? What a shame! People have moved-on. This will be an excellent example on how to ignore your users for the offspring.

            kienerj added a comment -

            Got an email from this issues and decided I will log in to unwatch it finally, have moved on from Bitbucket ages ago and well this issue does explain a lot why...

            kienerj added a comment - Got an email from this issues and decided I will log in to unwatch it finally, have moved on from Bitbucket ages ago and well this issue does explain a lot why...

            How about coming up with a whitelist of HTML tags to allow, for example tags with "id" attribute, which are use to navigate within the page using A href's, I.e. in table of content scenarios?

            Jose Quijada added a comment - How about coming up with a whitelist of HTML tags to allow, for example tags with "id" attribute, which are use to navigate within the page using A href's, I.e. in table of content scenarios?

            This is really annoying. I wanted to add a code block in the README.md that uses UNIX manpage style syntax for describing what commands to run. Required me to use <pre> because I needed italics in the it. Works with other markdown viewers, but not in Bitbucket, where it's likely that other people will read it from.

            Sebastian Fredriksson Bernholtz added a comment - This is really annoying. I wanted to add a code block in the README.md that uses UNIX manpage style syntax for describing what commands to run. Required me to use <pre> because I needed italics in the it. Works with other markdown viewers, but not in Bitbucket, where it's likely that other people will read it from.

            Is there a feature to at least hide HTML tags that aren't supported like "a" tags ?

            ValerianGonnot added a comment - Is there a feature to at least hide HTML tags that aren't supported like "a" tags ?

            Very disappointing.

            Erik Parawell added a comment - Very disappointing.

            Disappointing.

            delitescere added a comment - Disappointing.

            joelbradshaw added a comment - - edited

            Was just bitten by this today. Documentation is conflicting:

            The markdowndemo repository states that you do not support HTML and use "safe mode", linking to a documentation page that has been down since January 2018. Relatedly, an archive of the linked page from a month after that section was last updated (February 2015) explicitly says that safe_mode is deprecated and should not be used. The current documentation for the python-markdown library that is the target of the broken link explains that safe_mode is deprecated and recommends bleach-allowlist as a replacement that still allows a subset of HTML.

            The bottom of the Markdown Syntax Guide says you implement the Common Mark spec and says explicitly at the bottom that the file can contain "a restricted set of HTML tags" without specifying what. See this community post from 2018 for confusion around that guide.

            This community post from 2017 states that we can use HTML tags and again links to the Common Markdown spec, which states the following:

            Text between < and > that looks like an HTML tag is parsed as a raw HTML tag and will be rendered in HTML without escaping. Tag and attribute names are not limited to current HTML tags, so custom tags (and even, say, DocBook tags) may be used.

            And further, earlier comments on this issue make mention of a Labs feature that supposedly supported HTML in Markdown as late as 2019, but I see no such Labs option in my account today.

            For better or for worse, a core feature of Markdown is that it falls back to HTML, and many repositories have leveraged that to create richer READMEs. Bitbucket not supporting this is a notable deficit compared to competitors, and makes working with repositories originally hosted elsewhere rather unpleasant.

            Please, give us at least an allowed subset of HTML to work with here.

             

            joelbradshaw added a comment - - edited Was just bitten by this today. Documentation is conflicting: The markdowndemo repository states that you do not support HTML and use "safe mode", linking to a documentation page that has been down since January 2018. Relatedly, an archive of the linked page from a month after that section was last updated (February 2015) explicitly says that safe_mode is deprecated and should not be used. The current documentation for the python-markdown library that is the target of the broken link explains that safe_mode is deprecated and recommends bleach-allowlist as a replacement that still allows a subset of HTML. The bottom of the Markdown Syntax Guide says you implement the Common Mark spec and says explicitly at the bottom that the file can contain "a restricted set of HTML tags" without specifying what. See this community post from 2018 for confusion around that guide. This community post from 2017 states that we can use HTML tags and again links to the Common Markdown spec, which states the following: Text between < and > that looks like an HTML tag is parsed as a raw HTML tag and will be rendered in HTML without escaping. Tag and attribute names are not limited to current HTML tags, so custom tags (and even, say, DocBook tags) may be used. And further, earlier comments on this issue make mention of a Labs feature that supposedly supported HTML in Markdown as late as 2019, but I see no such Labs option in my account today. For better or for worse, a core feature of Markdown is that it falls back to HTML, and many repositories have leveraged that to create richer READMEs. Bitbucket not supporting this is a notable deficit compared to competitors, and makes working with repositories originally hosted elsewhere rather unpleasant. Please, give us at least an allowed subset of HTML to work with here.  

              cc636e5e7862 Vinitha Raja (Inactive)
              Anonymous Anonymous
              Votes:
              183 Vote for this issue
              Watchers:
              140 Start watching this issue

                Created:
                Updated:
                Resolved: