Commits

sharky93 committed 9d1260a

Minor stylistic corrections to the docs

  • Participants
  • Parent commits 1055b1f

Comments (0)

Files changed (2)

docs/devel/development.rst

 the translation for any string can be received by passing it as a parameter to the ``_`` function,
 also defined in the same file.
 
-For example, if we add the following to ``i18n_dict`` in ``dictionary.js`` 
+For example, if we add the following to ``i18n_dict`` in ``dictionary.js`` ::
     
-    ``"somestring"  : "{{  _("somestring") }}",``
+    "Delete this"  : "{{  _("Delete this") }}",
 
-The translated version of "somestring" can be accessed in the JavaScript code by
+The translated version of "somestring" can be accessed in the JavaScript code by ::
 
-    ``var a = _("somestring");``
+    var a = _("Delete this");
 
 
 Testing

docs/user/moinwiki.rst

 |                                                   | side compression, PIL needs to be     |
 |                                                   | installed.                            |
 +---------------------------------------------------+---------------------------------------+
-| ``{{ http://moinmo.in/ || width=20 }}``           | Resizes the ``object`` which is embe- |
-|                                                   | dded using HTML tags. Also markup     |
+| ``{{ http://moinmo.in/ || width=20 }}``           | Resizes the ``object`` which is       |
+|                                                   | embedded using HTML tags. Also markup |
 |                                                   | involving '&' parameters like ``&w``  |
 |                                                   | doesn't make much sense.              |
 +---------------------------------------------------+---------------------------------------+
 
 **Extra Info**: 
 
-The markup of ``{{ example.jpg || &w=20 }}``, simply adds ``&w`` to the ``src`` URL of the image, the Python Imaging Library (PIL)
+Markup like ``{{ example.jpg || &w=20 }}``, simply adds ``&w`` to the ``src`` URL of the image, the Python Imaging Library (PIL)
 understands that it has to compress the image on the server side and render as shrinked to size ``20``. 
 
 For markup like ``{{ example.jpg || width=20, height=100 }}`` we currently allow only the ``width`` and ``height`` (anything