Updated README

pull/126/head
Sheng 2020-01-23 19:35:04 +08:00
parent 8d9eeb0bc1
commit 7cf80e7372
2 changed files with 3 additions and 27 deletions

View File

@ -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

View File

@ -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
~~~~~~~~~~~~~