commit 7cf80e7372d76eb8c6c82c50a8fa69523489c005 parent 8d9eeb0bc1364565e72c849140398c1b2adc5843 Author: Sheng <webmaster0115@gmail.com> Date: Thu, 23 Jan 2020 19:35:04 +0800 Updated README Diffstat:
M | README.md | | | 14 | +------------- |
M | README.rst | | | 16 | ++-------------- |
2 files changed, 3 insertions(+), 27 deletions(-)
diff --git a/README.md b/README.md @@ -103,19 +103,7 @@ wssh.send('ls -l'); ### Custom Font -Custom font family usage example: -```html -<style> - @font-face { - font-family: 'font-name'; - src: url('static/css/fonts/your-favorite-font'); - } - - body { - font-family: 'font-name'; - } -</style> -``` +To use custom font, put your font file in the directory `webssh/static/css/fonts/` and restart the server. ### URL Arguments diff --git a/README.rst b/README.rst @@ -109,20 +109,8 @@ Browser console Custom Font ~~~~~~~~~~~ -Custom font family usage example: - -.. code:: html - - <style> - @font-face { - font-family: 'font-name'; - src: url('static/css/fonts/your-favorite-font'); - } - - body { - font-family: 'font-name'; - } - </style> +To use custom font, put your font file in the directory +``webssh/static/css/fonts/`` and restart the server. URL Arguments ~~~~~~~~~~~~~