tweak some of the code blocks on the troubleshooting page to work better on mobiles

This commit is contained in:
Coby Chapple 2013-05-02 21:46:43 +01:00
parent cdcb92bb38
commit f0fc262812
1 changed files with 20 additions and 2 deletions

View File

@ -50,7 +50,23 @@ On Debian or Ubuntu, you may need to add /var/lib/gems/1.8/bin/ to your path in
## Base-URL Problems
If you are using base-url option like `jekyll serve --baseurl '/blog'` then make sure that you access the site at `http://localhost:4000/blog/index.html`. Just accessing `http://localhost:4000/blog` will not work.
If you are using base-url option like:
{% highlight bash %}
jekyll serve --baseurl '/blog'
{% endhighlight %}
… then make sure that you access the site at:
{% highlight bash %}
http://localhost:4000/blog/index.html
{% endhighlight %}
It wont work to just access:
{% highlight bash %}
http://localhost:4000/blog
{% endhighlight %}
## Configuration problems
@ -74,7 +90,9 @@ problems.
If your link has characters that need to be escaped, you need to use
this syntax:
`![Alt text](http://yuml.me/diagram/class/[Project]->[Task])`
{% highlight markdown %}
![Alt text](http://yuml.me/diagram/class/[Project]->[Task])
{% endhighlight %}
If you have an empty tag, i.e. `<script src="js.js"></script>`, Maruku
transforms this into `<script src="js.js" />`. This causes problems in