mirror of https://github.com/huashengdun/webssh
Updated README
parent
8d9eeb0bc1
commit
7cf80e7372
14
README.md
14
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
|
||||
|
||||
|
|
16
README.rst
16
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
|
||||
~~~~~~~~~~~~~
|
||||
|
|
Loading…
Reference in New Issue