Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-6862

Overview (and source) need CSS for RST admonition directives (BB-8038)

    XMLWordPrintable

Details

    Description

      In a readme.rst, I expect

      #!rst
      
      .. IMPORTANT:: title
         text
      

      to render as

      #!html
      
      <div class="important">
      <p class="first admonition-title">Important</p>
      <p>title</p>
      <p class="last">text</p>
      </div>
      

      It does, however the elements are unstyled. The p.first.admonition-title runs in to the previous paragraph, and the title and text start their own paragraphs. I expect the styling to be something like:

      #!css
      
      div.attention, div.caution, div.danger, div.error, div.hint, div.important, div.note, div.tip, div.warning, div.admonition {
          border: 1px solid black;
          margin: 10px 0 0 20px;
          padding: 5px;
      }
      
      p.admonition-title {
          font-size: 20px;
      }
      

      Attachments

        Activity

          People

            zdavis Zachary Davis (Inactive)
            e771f6dca2be FinalDoom
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: