e.g.,
The default is
`docs/*.md`
This allows
`docs/somedir/*.md`
or
`docs/somedir/anotherdir/*.md`
Notes:
- All URLs are still /docs/*.html (i.e. the subpath does not get preserved in the link).
- Files in `translated_docs`, if any, will still only be one level
- This should not affect translations or versioning
Marked had the ability to display html code. This is useful if you want to embed iframes, set size to images... This allows arbitrary html to be embedded with no sanitization, so `<script>alert()</script>` will be executed. This isn't such a big issue since the markdown is written only by contributors.
I also removed the componentWillUpdate call since it's not used (and wrong).
* Add the ability to define a default language
I don't want to have to add the language i'm working on to every single block nor do I want to rely on a default heuristic to find the language.
This adds the ability to write
```
highlight: { defaultLang: 'xxxx' }
```
in `siteConfig.js` to force the language when not specified.
I tested it without a a highlight block, without a defaultLang attribute and with one and with a wrong one. All of them work as expected.
* Move comment around
* Mobile nav at 736px instead of 1024px
I was not totally clear on the issue here, but I assumed is that you wanted normal navigation to begin at 736px instead of 1024px. I think this does it.
Tested 735px was mobile, 736px was normal
Fixes#102
* 735 and 736 in more places
* Fix custom port number parsing...
Checking if a port was in use raised a bug where the port coming in from the command line is a string and not an int. And that was causing the check to fail. Make the port an int from the get go
* Specifiy radix
* Remove client side highlighting
* Update CSS rules to render plain code blocks with expected left border
* Add back codeColor background color config
* Ensure all pre code blocks use Highlight.js classes
* Switch to Circle 2
* Use Yarn in CI
* Move things around
* Fix Remarkable case issue
* Run placeholder test
* Update deploy script
Use multiline commit messages to ensure commit beign deployed is documented in git history