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

docs(readme): Fix markdown error #227

Merged
merged 1 commit into from
May 5, 2017

Conversation

mgol
Copy link
Contributor

@mgol mgol commented May 5, 2017

What kind of change does this PR introduce?

A docs bugfix.

Did you add tests for your changes?

N/A

If relevant, did you update the README?

Yes.

Summary

README contained unescaped & unclosed <style> tag that made almost the whole
README unreadable on the npm package page; see:
https://www.npmjs.com/package/style-loader

Does this PR introduce a breaking change?

No.

Other information

This is a good test page to see how READMEs will display on npm:
https://revin.github.io/marky-markdown/

README contained unescaped & unclosed `<style>` tag that made almost the whole
README unreadable on the npm package page; see:
https://www.npmjs.com/package/style-loader

This is a good test page to see how READMEs will display on npm:
https://revin.github.io/marky-markdown/
@mgol
Copy link
Contributor Author

mgol commented May 5, 2017

I reported it to marky-markdown: npm/marky-markdown#363. It'd still be good to unbreak the README in the meantime, though.

@joshwiens joshwiens changed the title Fix README on npm docs(readme): Fix markdown error May 5, 2017
@joshwiens joshwiens merged commit 6a18847 into webpack-contrib:master May 5, 2017
@mgol mgol deleted the readme-hotfix branch May 5, 2017 14:26
mgol added a commit to mgol/style-loader that referenced this pull request May 6, 2017
PR webpack-contrib#227 made the README not broken completely on the npm package page (https://www.npmjs.com/package/style-loader) but didn't make the code block a real code block. Backticks are only used to delimit code blocks when used on the top level of the Markdown file; once they appear in an HTML block they're treated as regular symbols. The proper fix is to use the `<code>` tag.
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

Successfully merging this pull request may close these issues.

2 participants