ahgittin opened a new pull request #210:
URL: https://github.com/apache/brooklyn-ui/pull/210


   based on a `ui-composer-annotation` tag with text value or object value, 
rendering as markdown
   
   see docs PR to follow immediately
   
   teaser screenshot
   
   
![image](https://user-images.githubusercontent.com/496540/120346606-6e66bb80-c2f3-11eb-9680-1057ca9dd1e2.png)
   
   from code
   
   ```
   name: Annotation Sample
   services:
     - type: aws_s3_bucket
       brooklyn.tags:
         - ui-composer-annotation: A simple default annotation
         - ui-composer-annotation:
             text: >-
               Shown below, yellow text, centered with CSS. Because it's long, 
scroll bars horizontally and vertically shown when
               needed.
             styleInnerDiv: 'margin: auto; color: yellow;'
             'y': 120
     - type: aws_s3_bucket
       brooklyn.tags:
         - ui-composer-annotation:
             text: |
               ## Big Example
               A **red** tag at _right_, using markdown, in a big box.
             width: 300
             height: 200
             x: 220
             'y': 0
             background: '#ffcccc'
             style: 'font-size: 9px;'
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to