hologram icon indicating copy to clipboard operation
hologram copied to clipboard

How to doc colors

Open wachri opened this issue 9 years ago • 3 comments

I found a very nice example in the Cortana demo under http://yago.github.io/Cortana-example/layout_-_colors.html. I searched around but found no where an example how to generate this.

wachri avatar Oct 08 '15 11:10 wachri

You can use normal markup in markdown. Just build out your palette with HTML within the doc section and it should render appropriately.

Be sure to add a none-example to the end of your doc section if you aren't using any other examples. That way the cortana renderer won't trip up with it's conversion process.

lawren avatar Oct 21 '15 20:10 lawren

Hey lawren ,

I have tried to show the basic color of my web application in my style guide like http://yago.github.io/Cortana-example/layout_-_colors.html.I have written the doc as layout_colors.txt .It's showing only the HTML code but not showing the Example. Could you please help me..

ghost avatar Apr 04 '16 11:04 ghost

@ParhiBijayini

Try this instead: gist

The html you want to actually render as-is shouldn't be wrapped as an example, just raw. Then, to appease the parser, you have to place a none_example in the bottom.

lawren avatar Apr 04 '16 13:04 lawren