Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to doc colors #248

Open
wachri opened this issue Oct 8, 2015 · 3 comments
Open

How to doc colors #248

wachri opened this issue Oct 8, 2015 · 3 comments

Comments

@wachri
Copy link

wachri commented Oct 8, 2015

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 wachri changed the title How to doc color How to doc colors Oct 8, 2015
@lawren
Copy link

lawren commented Oct 21, 2015

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.

@ghost
Copy link

ghost commented Apr 4, 2016

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..

@lawren
Copy link

lawren commented Apr 4, 2016

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants