mirror of https://github.com/huashengdun/webssh
Updated README
parent
5daca37f5c
commit
6d62642c7f
16
README.md
16
README.md
|
@ -98,6 +98,22 @@ wssh.reset_encoding();
|
|||
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>
|
||||
```
|
||||
|
||||
### URL Arguments
|
||||
|
||||
Support passing arguments by url (query or fragment) like following examples:
|
||||
|
|
18
README.rst
18
README.rst
|
@ -103,6 +103,24 @@ Browser console
|
|||
// send a command to the server
|
||||
wssh.send('ls -l');
|
||||
|
||||
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>
|
||||
|
||||
URL Arguments
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
|
|
Loading…
Reference in New Issue