Selaa lähdekoodia

README: formatting improvements

Vincent Lang 9 vuotta sitten
vanhempi
commit
af7cb05412
1 muutettua tiedostoa jossa 13 lisäystä ja 12 poistoa
  1. 13 12
      README.md

+ 13 - 12
README.md

@@ -8,37 +8,38 @@ You need:
 
 Special Qt requirements:
 
-* On Windows, you must apply qt-patches/0003-Always-enable-viewport-stuff.patch for
-  correct window scaling. Applying the patches in qt-patches/qt-5.6-alpha/ fixes
+* On Windows, you must apply ``qt-patches/0003-Always-enable-viewport-stuff.patch``
+  for correct window scaling. The patches in ``qt-patches/qt-5.6-alpha/`` fix
   some stability issues.
-* On OSX, you should apply qt-patches/0002-qtbase-Don-t-show-the-menu-bar-at-all-in-lion-style-fullscr.patch
+* On OSX, you should apply ``qt-patches/0002-qtbase-Don-t-show-the-menu-bar-at-all-in-lion-style-fullscr.patch``
   to improve the user experience in fullscreen.
 * You can try to use Qt 5.5, but then you also need to apply the following patches:
-    qt-patches/0001-qtwebengine-Add-a-backgroundColor-property.patch
-    qt-patches/0004-qtwebengine-transparency-window-creation.patch
+    - ``qt-patches/0001-qtwebengine-Add-a-backgroundColor-property.patch``
+    - ``qt-patches/0004-qtwebengine-transparency-window-creation.patch``
+
   Without them, video playback will not work.
 
 Get dependencies:
 
-* scripts/fetch-binaries.py -p darwin-x86_64
+* ``scripts/fetch-binaries.py -p darwin-x86_64``
 
 If you're happy just building from the command line then run CMake for the ninja build tool:
 
-* mkdir build ; cd build
-* cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DQTROOT=/path/to/qt -DCMAKE_INSTALL_PREFIX=output ..
+* ``mkdir build ; cd build``
+* ``cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DQTROOT=/path/to/qt -DCMAKE_INSTALL_PREFIX=output ..``
 
 Build (ninja):
 
-* ninja
+* ``ninja``
 
 Make a distributable package:
 
-* ninja install (be patient, it's slow)
+* ``ninja install`` (be patient, it's slow)
 
 Or if you prefer working in Xcode, run CMake for the xcode build):
 
-* mkdir build ; cd build
-* cmake -GXcode -DQTROOT=/path/to/qt ..
+* ``mkdir build ; cd build``
+* ``cmake -GXcode -DQTROOT=/path/to/qt ..``
 
 ## License