View simple, bi-directional html in terminal
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have a stardict dictionary which unfortunately uses some html tags. I like to be able to pipe its output to a utility to make it viewable. I don't even necessarily want to have visual effects dictated by the tags, just simply displaying them in a readable form is great. Here is an example output:
$ sdcv óÃÂçÃÂ
Found 1 items, similar to óÃÂçÃÂ
.
-->Moin
-->óÃÂçÃÂ
<p align=right dir=rtl>(óÃÂ) [<font color="green"> ù.</font> ] (<font color="green">ÃÂ
õ ÃÂ.</font>)<br><font color="#7030a0">ñ-</font> ïñÃÂï ïÃÂêÃÂ.<br><font color="#7030a0">ò-</font> èàïòÃÂï ôïÃÂ.<br><font color="#7030a0">ó-</font> ïñïàÃÂÃÂçïÃÂ.<br>~ ùÃÂÃÂé ïñÃÂï èñ êàèçï.<br>~ ùÃÂÃÂéÃÂ
ïñÃÂï èñ ôÃÂ
ç.</p>
I tried piping it to w3m
, but it just displayed the html as it was.
PS: I use the terminal emulator kitty
.
utilities html pager w3m
add a comment |Â
up vote
0
down vote
favorite
I have a stardict dictionary which unfortunately uses some html tags. I like to be able to pipe its output to a utility to make it viewable. I don't even necessarily want to have visual effects dictated by the tags, just simply displaying them in a readable form is great. Here is an example output:
$ sdcv óÃÂçÃÂ
Found 1 items, similar to óÃÂçÃÂ
.
-->Moin
-->óÃÂçÃÂ
<p align=right dir=rtl>(óÃÂ) [<font color="green"> ù.</font> ] (<font color="green">ÃÂ
õ ÃÂ.</font>)<br><font color="#7030a0">ñ-</font> ïñÃÂï ïÃÂêÃÂ.<br><font color="#7030a0">ò-</font> èàïòÃÂï ôïÃÂ.<br><font color="#7030a0">ó-</font> ïñïàÃÂÃÂçïÃÂ.<br>~ ùÃÂÃÂé ïñÃÂï èñ êàèçï.<br>~ ùÃÂÃÂéÃÂ
ïñÃÂï èñ ôÃÂ
ç.</p>
I tried piping it to w3m
, but it just displayed the html as it was.
PS: I use the terminal emulator kitty
.
utilities html pager w3m
You have tons of options as even a cursory Google search will show. A modern option is brow.sh
â Panther
5 hours ago
1
Please mention in the question that you need to display bi-directional text correctly; that may reduce the tons of options to a couple. Or even none, if you need something both lightweight and general.
â mosvy
15 mins ago
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a stardict dictionary which unfortunately uses some html tags. I like to be able to pipe its output to a utility to make it viewable. I don't even necessarily want to have visual effects dictated by the tags, just simply displaying them in a readable form is great. Here is an example output:
$ sdcv óÃÂçÃÂ
Found 1 items, similar to óÃÂçÃÂ
.
-->Moin
-->óÃÂçÃÂ
<p align=right dir=rtl>(óÃÂ) [<font color="green"> ù.</font> ] (<font color="green">ÃÂ
õ ÃÂ.</font>)<br><font color="#7030a0">ñ-</font> ïñÃÂï ïÃÂêÃÂ.<br><font color="#7030a0">ò-</font> èàïòÃÂï ôïÃÂ.<br><font color="#7030a0">ó-</font> ïñïàÃÂÃÂçïÃÂ.<br>~ ùÃÂÃÂé ïñÃÂï èñ êàèçï.<br>~ ùÃÂÃÂéÃÂ
ïñÃÂï èñ ôÃÂ
ç.</p>
I tried piping it to w3m
, but it just displayed the html as it was.
PS: I use the terminal emulator kitty
.
utilities html pager w3m
I have a stardict dictionary which unfortunately uses some html tags. I like to be able to pipe its output to a utility to make it viewable. I don't even necessarily want to have visual effects dictated by the tags, just simply displaying them in a readable form is great. Here is an example output:
$ sdcv óÃÂçÃÂ
Found 1 items, similar to óÃÂçÃÂ
.
-->Moin
-->óÃÂçÃÂ
<p align=right dir=rtl>(óÃÂ) [<font color="green"> ù.</font> ] (<font color="green">ÃÂ
õ ÃÂ.</font>)<br><font color="#7030a0">ñ-</font> ïñÃÂï ïÃÂêÃÂ.<br><font color="#7030a0">ò-</font> èàïòÃÂï ôïÃÂ.<br><font color="#7030a0">ó-</font> ïñïàÃÂÃÂçïÃÂ.<br>~ ùÃÂÃÂé ïñÃÂï èñ êàèçï.<br>~ ùÃÂÃÂéÃÂ
ïñÃÂï èñ ôÃÂ
ç.</p>
I tried piping it to w3m
, but it just displayed the html as it was.
PS: I use the terminal emulator kitty
.
utilities html pager w3m
utilities html pager w3m
edited 5 mins ago
asked 7 hours ago
HappyFace
12710
12710
You have tons of options as even a cursory Google search will show. A modern option is brow.sh
â Panther
5 hours ago
1
Please mention in the question that you need to display bi-directional text correctly; that may reduce the tons of options to a couple. Or even none, if you need something both lightweight and general.
â mosvy
15 mins ago
add a comment |Â
You have tons of options as even a cursory Google search will show. A modern option is brow.sh
â Panther
5 hours ago
1
Please mention in the question that you need to display bi-directional text correctly; that may reduce the tons of options to a couple. Or even none, if you need something both lightweight and general.
â mosvy
15 mins ago
You have tons of options as even a cursory Google search will show. A modern option is brow.sh
â Panther
5 hours ago
You have tons of options as even a cursory Google search will show. A modern option is brow.sh
â Panther
5 hours ago
1
1
Please mention in the question that you need to display bi-directional text correctly; that may reduce the tons of options to a couple. Or even none, if you need something both lightweight and general.
â mosvy
15 mins ago
Please mention in the question that you need to display bi-directional text correctly; that may reduce the tons of options to a couple. Or even none, if you need something both lightweight and general.
â mosvy
15 mins ago
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f478439%2fview-simple-bi-directional-html-in-terminal%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
You have tons of options as even a cursory Google search will show. A modern option is brow.sh
â Panther
5 hours ago
1
Please mention in the question that you need to display bi-directional text correctly; that may reduce the tons of options to a couple. Or even none, if you need something both lightweight and general.
â mosvy
15 mins ago