Bert wrote:L18L wrote:
fatdog's unpublished /usr/share/doc/faqs/bugs.md wrote:%%textdomain fatdoghelp
![ ](fatdog64.png)
# Think you've found a bug?
Like all other creations of man, Fatdog64 is not perfect.
From time to time you may encounter problems.
If you would like these problems to go away, the best ...
See image and continue experimenting with your domain yad --html.
Thank you L18L, that looks exciting... I will not pretend I understand your image:
1. I see two mdview commands, one piped to yad --html and one to yad --text-info
2. The dog we see is part of your wallpaper, right?
3. the yad dialog we see is the result of yad --text-info, right?
(What did the first command produce?)
1, Yes
2. Yes (Including this I do not need to declare: made in Fatdog)
3. Yes (first command produced just a default yad window with Cancel and OK.)
So, yad can display a .md file in its raw source form, but not as the rich text md is intended to produce, even if mdview is installed?
Let me say it so:
A .md file in its raw source form is plain text, view it with a textviewer or a texteditor.
mdview is the viewer application which can
- render images, links, headlines, bold, italics, etc
- transform to html
- translate
I have continued my experiments with yad.
Result:
yad --html does
not work out of the box,
webkit seems to be needed.
Trying to install libwebkitgtk there are warnings in package manager gslapt. So
no go for me.
Creating a web page was easy.
Our example
Code: Select all
# echo "<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>bla</title></head><body style="margin:auto;max-width:32em;">">/tmp/bla;mdview --html bugs.md >> /tmp/bla;echo "</body></html>">>/tmp/bla;sync; defaulthtmlviewer /tmp/bla
(see image) shows an issue to be solved by jamesbond.
Nobody knows what the defaulthtmlviewer actually is, it can be a webbrowser. That is shooting with guns at mosquitos.
For offline usage don't use a webbrowser but simply the viewer
mdview which would be needed anyway because of its translating feature..
@jamesbond, embed each line of --html output in
<p>...
</p> please.