webssh

Web based ssh client https://github.com/huashengdun/webssh webssh.huashengdun.org/
git clone http://git.hanabi.in/repos/webssh.git
Log | Files | Refs | README | LICENSE

commit 6d62642c7f111ea7d0aea306831edcc16876f135
parent 5daca37f5cb1d72c50c397780b3d89d146af64c1
Author: Sheng <webmaster0115@gmail.com>
Date:   Sat, 22 Jun 2019 14:09:04 +0800

Updated README

Diffstat:
MREADME.md | 16++++++++++++++++
MREADME.rst | 18++++++++++++++++++
2 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/README.md b/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: diff --git a/README.rst b/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 ~~~~~~~~~~~~~