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

Mention styles in README.md #3

Open
kumavis opened this issue Jun 24, 2013 · 1 comment
Open

Mention styles in README.md #3

kumavis opened this issue Jun 24, 2013 · 1 comment

Comments

@kumavis
Copy link

kumavis commented Jun 24, 2013

The styles need to be manually included (correct?)
This is not mentioned in the doc

@kumavis
Copy link
Author

kumavis commented Jun 24, 2013

consider adding them when injecting the code mirror

var fileref=document.createElement("link")
fileref.setAttribute("rel", "stylesheet")
fileref.setAttribute("type", "text/css")
fileref.setAttribute("href", filename)
document.getElementsByTagName("head")[0].appendChild(fileref)

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

1 participant