Reference

shtmlview(3tk)

Basic HTML and Markdown viewer application


        
    

    
        

NAME

shtmlview - Basic HTML and Markdown viewer application

SYNOPSIS

shtmlview

shtmlview --help

shtmlview --version

shtmlview --render text

shtmlview --render -

shtmlview filename


        
    


        

DESCRIPTION

The application described by this document, shtmlview, is a simple viewer for HTML files. Further supported are documents written in Markdown, doctools, or mkdoc format, if various supporting packages are available. See section Beyond HTML.

COMMAND LINE

shtmlview
shtmlview --help

Prints usage information to standard error.

shtmlview --version

Prints the application version to standard output.

shtmlview --render text

Displays the provided text in a viewer window. Treats the text as Markdown except if it starts with a recognized HTML tag. In that case it assumes and renders as HTML.

shtmlview --render -

As before, except it reads the text to render from standard input.

shtmlview filename

Reads and renders the named file in a viewer widget.

BEYOND HTML

Documents in any other format than HTML require the presence of various supporting packages to enable the application to display them.

Markdown
•

Markdown

doctools
•

shtmlview::doctools

•

dtplite

mkdoc
•

shtmlview::mkdoc

•

mkdoc::mkdoc

BUGS, IDEAS, FEEDBACK

This document, and the application it describes, will undoubtedly contain bugs and other problems. Please report such in the category shtmlview of the Tklib Trackers [https://core.tcl-lang.org/tklib/ticket]. Please also report any ideas for enhancements you may have for either application and/or documentation.

BUGS, IDEAS, FEEDBACK

This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category shtmlview of the Tklib Trackers [http://core.tcl.tk/tklib/reportlist]. Please also report any ideas for enhancements you may have for either package and/or documentation.

KEYWORDS

doctools, html, markdown, mkdoc, viewer

CATEGORY

Document display

COPYRIGHT

Copyright (c)