Updated README

pull/75/head
Sheng 2019-06-22 14:09:04 +08:00
parent 5daca37f5c
commit 6d62642c7f
2 changed files with 34 additions and 0 deletions

View File

@ -98,6 +98,22 @@ wssh.reset_encoding();
wssh.send('ls -l'); 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 ### URL Arguments
Support passing arguments by url (query or fragment) like following examples: Support passing arguments by url (query or fragment) like following examples:

View File

@ -103,6 +103,24 @@ Browser console
// send a command to the server // send a command to the server
wssh.send('ls -l'); 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 URL Arguments
~~~~~~~~~~~~~ ~~~~~~~~~~~~~