updates
This commit is contained in:
parent
698e4a5843
commit
8b82ecfc3b
@ -33,7 +33,7 @@ export DISPLAY="localhost:0.0"
|
||||
export LESS="-iRM"
|
||||
|
||||
# Prompt with Git
|
||||
export PS1='\n\033[32m\]\u@\h \[\033[33m\w\033[0m\]$(__git_ps1 " (%s)")\n$ '
|
||||
export PS1='\n\033[32m\]\u@\h \[\033[33m\w\033[0m\]$(__git_ps1 " (%s)")\n\$ '
|
||||
|
||||
# Aliases
|
||||
alias ls="ls --color=auto --group-directories-first"
|
||||
@ -56,7 +56,10 @@ alias gw="git whatchanged"
|
||||
alias cyg-get="/cygdrive/e/Install/Cygwin/setup-x86_64.exe -qn -P"
|
||||
alias cyg-update="/cygdrive/e/Install/Cygwin/setup-x86_64.exe -qng"
|
||||
alias bb="ssh -t tty.sdf.org bboard"
|
||||
alias sudo="cygstart --action=runas" "$@"
|
||||
alias sudo="elevate -k" "$@" # https://code.kliu.org/misc/elevate/
|
||||
alias pastebin="pb" # https://tildegit.org/tomasino/pb
|
||||
alias shn="pb -u"
|
||||
alias cls="printf '\ec'" # Clear screen+scrollback
|
||||
|
||||
# Git
|
||||
source /usr/share/git-core/git-prompt.sh
|
||||
|
@ -1,3 +1,4 @@
|
||||
continue
|
||||
dir=g:\download
|
||||
max-connection-per-server=4
|
||||
check-certificate=false
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"optOut": false,
|
||||
"lastUpdateCheck": 1612441551055
|
||||
"lastUpdateCheck": 1626534101352
|
||||
}
|
@ -88,6 +88,8 @@ filepos_max_saved_entries=1024
|
||||
|
||||
safe_overwrite=false
|
||||
|
||||
shadows=true
|
||||
|
||||
[Layout]
|
||||
message_visible=true
|
||||
keybar_visible=true
|
||||
@ -151,7 +153,7 @@ mouse_move_pages=true
|
||||
filetype_mode=true
|
||||
permission_mode=false
|
||||
torben_fj_mode=false
|
||||
quick_search_mode=2
|
||||
quick_search_mode=0
|
||||
select_flags=6
|
||||
|
||||
panel_scroll_center=false
|
||||
|
@ -1,7 +1,7 @@
|
||||
[New Left Panel]
|
||||
display=listing
|
||||
reverse=false
|
||||
case_sensitive=true
|
||||
case_sensitive=false
|
||||
exec_first=false
|
||||
sort_order=name
|
||||
list_mode=full
|
||||
@ -18,7 +18,7 @@ list_format=user
|
||||
[New Right Panel]
|
||||
display=listing
|
||||
reverse=false
|
||||
case_sensitive=true
|
||||
case_sensitive=false
|
||||
exec_first=false
|
||||
sort_order=name
|
||||
list_mode=full
|
||||
@ -33,4 +33,5 @@ user_mini_status=false
|
||||
list_format=user
|
||||
|
||||
[Dirs]
|
||||
current_is_left=false
|
||||
current_is_left=true
|
||||
other_dir=/cygdrive/c/Users/Stian
|
||||
|
@ -1 +1,2 @@
|
||||
--no-check-certificate
|
||||
-o 'G:\download\%(title)s-%(id)s.%(ext)s'
|
||||
|
@ -17,4 +17,4 @@ Note: if you edit this file manually
|
||||
|
||||
<p>
|
||||
<ol>
|
||||
<LI><a href="http://stian.sdf.org/">stian.sdf.org | Personal web site for Stian Lund</a>
|
||||
<LI><a href="https://stian.sdf.org/">stian.sdf.org | Personal web site for Stian Lund</a>
|
||||
|
615
.tidyrc
615
.tidyrc
@ -1,546 +1,99 @@
|
||||
// config file for HTML tidy
|
||||
|
||||
accessibility-check: 0 (Tidy Classic)
|
||||
add-meta-charset: no
|
||||
add-xml-decl: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should add the XML declaration when outputting XML
|
||||
// or XHTML. Note that if the input already includes an <?xml ... ?> declaration
|
||||
// then this option will be ignored.
|
||||
|
||||
//add-xml-pi: no
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option is the same as the add-xml-decl option.
|
||||
|
||||
add-xml-space: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should add xml:space="preserve" to elements such
|
||||
// as <PRE>, <STYLE> and <SCRIPT> when generating XML. This is needed if the
|
||||
// whitespace in such elements is to be parsed appropriately without having access
|
||||
// to the DTD.
|
||||
|
||||
alt-text: "image"
|
||||
|
||||
// Type: String Default: -none- This option specifies the default "alt=" text Tidy
|
||||
// uses for <IMG> attributes. This feature is dangerous as it suppresses further
|
||||
// accessibility warnings. You are responsible for making your documents accessible
|
||||
// to people who can not see the images!
|
||||
|
||||
alt-text:
|
||||
anchor-as-name: yes
|
||||
ascii-chars: no
|
||||
assume-xml-procins: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should change the parsing of processing
|
||||
// instructions to require ?> as the terminator rather than >. This option is
|
||||
// automatically set if the input is in XML.
|
||||
|
||||
bare: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should strip Microsoft specific HTML from Word
|
||||
// 2000 documents, and output spaces rather than non-breaking spaces where they
|
||||
// exist in the input.
|
||||
|
||||
break-before-br: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should output a line break before each <BR>
|
||||
// element.
|
||||
|
||||
char-encoding: utf8
|
||||
clean: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should strip out surplus presentational tags and
|
||||
// attributes replacing them by style rules and structural markup as appropriate.
|
||||
// It works well on the HTML saved by Microsoft Office products.
|
||||
|
||||
coerce-endtags: yes
|
||||
css-prefix: c
|
||||
custom-tags: no
|
||||
decorate-inferred-ul: no
|
||||
doctype: auto
|
||||
|
||||
// Type: DocType Default: auto Example: auto, omit, strict, loose, transitional,
|
||||
// user specified fpi (string)
|
||||
// This option specifies the DOCTYPE declaration generated by Tidy. If set to
|
||||
// "omit" the output won't contain a DOCTYPE declaration. If set to "auto" (the
|
||||
// default) Tidy will use an educated guess based upon the contents of the
|
||||
// document. If set to "strict", Tidy will set the DOCTYPE to the strict DTD. If
|
||||
// set to "loose", the DOCTYPE is set to the loose (transitional) DTD.
|
||||
// Alternatively, you can supply a string for the formal public identifier (FPI).
|
||||
//
|
||||
// For example:
|
||||
// doctype: "-//ACME//DTD HTML 3.14159//EN"
|
||||
//
|
||||
// If you specify the FPI for an XHTML document, Tidy will set the system
|
||||
// identifier to the empty string. Tidy leaves the DOCTYPE for generic XML
|
||||
// documents unchanged. --doctype omit implies --numeric-entities yes.
|
||||
|
||||
drop-empty-elements: yes
|
||||
drop-empty-paras: yes
|
||||
|
||||
// Type: Boolean Default: yes Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should discard empty paragraphs. If set to no,
|
||||
// empty paragraphs are replaced by a pair of <BR> elements as HTML4 precludes
|
||||
// empty paragraphs.
|
||||
|
||||
drop-font-tags: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should discard <FONT> and <CENTER> tags rather
|
||||
// than creating the corresponding style rules, but only if the clean option is
|
||||
// also set to yes.
|
||||
|
||||
drop-proprietary-attributes: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should strip out proprietary attributes, such as
|
||||
// MS data binding attributes.
|
||||
|
||||
enclose-block-text: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should insert a <P> element to enclose any text it
|
||||
// finds in any element that allows mixed content for HTML transitional but not
|
||||
// HTML strict.
|
||||
|
||||
enclose-text: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should enclose any text it finds in the body
|
||||
// element within a <P> element. This is useful when you want to take existing HTML
|
||||
// and use it with a style sheet.
|
||||
|
||||
error-file:
|
||||
escape-cdata: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should convert <![CDATA[]]> sections to normal
|
||||
// text.
|
||||
|
||||
fix-bad-comments: yes
|
||||
|
||||
// Type: Boolean Default: yes Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should replace unexpected hyphens with "="
|
||||
// characters when it comes across adjacent hyphens. The default is yes. This
|
||||
// option is provided for users of Cold Fusion which uses the comment syntax:
|
||||
// <!--- --->
|
||||
|
||||
fix-uri: yes
|
||||
|
||||
// Type: Boolean Default: yes Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should check attribute values that carry URIs for
|
||||
// illegal characters and if such are found, escape them as HTML 4 recommends.
|
||||
|
||||
hide-comments: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should print out comments.
|
||||
|
||||
hide-endtags: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should omit optional end-tags when generating the
|
||||
// pretty printed markup. This option is ignored if you are outputting to XML.
|
||||
|
||||
indent-cdata: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should indent <![CDATA[]]> sections.
|
||||
|
||||
input-xml: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should use the XML parser rather than the error
|
||||
// correcting HTML parser.
|
||||
|
||||
join-classes: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should combine class names to generate a single
|
||||
// new class name, if multiple class assignments are detected on an element.
|
||||
|
||||
join-styles: yes
|
||||
|
||||
// Type: Boolean Default: yes Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should combine styles to generate a single new
|
||||
// style, if multiple style values are detected on an element.
|
||||
|
||||
logical-emphasis: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should replace any occurrence of <I> by <EM> and
|
||||
// any occurrence of <B> by <STRONG>. In both cases, the attributes are preserved
|
||||
// unchanged. This option can be set independently of the clean and drop-font-tags
|
||||
// options.
|
||||
|
||||
lower-literals: yes
|
||||
|
||||
// Type: Boolean Default: yes Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should convert the value of an attribute that
|
||||
// takes a list of predefined values to lower case. This is required for XHTML
|
||||
// documents.
|
||||
|
||||
ncr: yes
|
||||
|
||||
// Type: Boolean Default: yes Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should allow numeric character references.
|
||||
|
||||
new-blocklevel-tags:
|
||||
|
||||
// Type: Tag names Default: -none- Example: tagX, tagY, ...
|
||||
// This option specifies new block-level tags. This option takes a space or comma
|
||||
// separated list of tag names. Unless you declare new tags, Tidy will refuse to
|
||||
// generate a tidied file if the input includes previously unknown tags. Note you
|
||||
// can't change the content model for elements such as <TABLE>, <UL>, <OL> and
|
||||
// <DL>.
|
||||
|
||||
new-empty-tags:
|
||||
|
||||
// Type: Tag names Default: -none- Example: tagX, tagY, ..
|
||||
// This option specifies new empty inline tags. This option takes a space or comma
|
||||
// separated list of tag names. Unless you declare new tags, Tidy will refuse to
|
||||
// generate a tidied file if the input includes previously unknown tags. Remember
|
||||
// to also declare empty tags as either inline or blocklevel.
|
||||
|
||||
new-inline-tags:
|
||||
|
||||
// Type: Tag names Default: -none- Example: tagX, tagY, ...
|
||||
// This option specifies new non-empty inline tags. This option takes a space or
|
||||
// comma separated list of tag names. Unless you declare new tags, Tidy will refuse
|
||||
// to generate a tidied file if the input includes previously unknown tags.
|
||||
|
||||
new-pre-tags:
|
||||
|
||||
// Type: Tag names Default: -none- Example: tagX, tagY, ...
|
||||
// This option specifies new tags that are to be processed in exactly the same way
|
||||
// as HTML's <PRE> element. This option takes a space or comma separated list of
|
||||
// tag names. Unless you declare new tags, Tidy will refuse to generate a tidied
|
||||
// file if the input includes previously unknown tags. Note you can not as yet add
|
||||
// new CDATA elements (similar to <SCRIPT>).
|
||||
|
||||
numeric-entities: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should output entities other than the built-in
|
||||
// HTML entities (&, <, > and ") in the numeric rather than the
|
||||
// named entity form.
|
||||
|
||||
output-xhtml: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should generate pretty printed output, writing it
|
||||
// as extensible HTML. This option causes Tidy to set the DOCTYPE and default
|
||||
// namespace as appropriate to XHTML. If a DOCTYPE or namespace is given they will
|
||||
// checked for consistency with the content of the document. In the case of an
|
||||
// inconsistency, the corrected values will appear in the output. For XHTML,
|
||||
// entities can be written as named or numeric entities according to the setting of
|
||||
// the "numeric-entities" option. The original case of tags and attributes will be
|
||||
// preserved, regardless of other options.
|
||||
|
||||
output-xml: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should pretty print output, writing it as well-
|
||||
// formed XML. Any entities not defined in XML 1.0 will be written as numeric
|
||||
// entities to allow them to be parsed by a XML parser. The original case of tags
|
||||
// and attributes will be preserved, regardless of other options.
|
||||
|
||||
quote-ampersand: yes
|
||||
|
||||
// Type: Boolean Default: yes Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should output unadorned & characters as &.
|
||||
|
||||
quote-marks: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should output " characters as " as is
|
||||
// preferred by some editing environments. The apostrophe character ' is written
|
||||
// out as ' since many web browsers don't yet support '.
|
||||
|
||||
quote-nbsp: yes
|
||||
|
||||
// Type: Boolean Default: yes Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should output non-breaking space characters as
|
||||
// entities, rather than as the Unicode character value 160 (decimal).
|
||||
|
||||
repeated-attributes: keep-last
|
||||
|
||||
// Type: - Default: keep-last
|
||||
// Example: keep-first, keep-last join-classes join-styles
|
||||
// This option specifies if Tidy should keep the first or last attribute, if an
|
||||
// attribute is repeated, e.g. has two align attributes.
|
||||
|
||||
replace-color: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should replace numeric values in color attributes
|
||||
// by HTML/XHTML color names where defined, e.g. replace "#ffffff" with "white".
|
||||
|
||||
show-body-only: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should print only the contents of the body tag as
|
||||
// an HTML fragment. Useful for incorporating existing whole pages as a portion of
|
||||
// another page.
|
||||
|
||||
slide-style: none
|
||||
|
||||
// Type: Name Default: -none- Currently not used.
|
||||
|
||||
split: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should create a sequence of slides from the input,
|
||||
// splitting the markup prior to each successive <H2>. The slides are written to
|
||||
// "slide001.html", "slide002.html" etc.
|
||||
|
||||
uppercase-attributes: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should output attribute names in upper case. The
|
||||
// default is no, which results in lower case attribute names, except for XML
|
||||
// input, where the original case is preserved.
|
||||
|
||||
uppercase-tags: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should output tag names in upper case. The default
|
||||
// is no, which results in lower case tag names, except for XML input, where the
|
||||
// original case is preserved.
|
||||
|
||||
word-2000: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should go to great pains to strip out all the
|
||||
// surplus stuff Microsoft Word 2000 inserts when you save Word documents as "Web
|
||||
// pages". Doesn't handle embedded images or VML.
|
||||
|
||||
|
||||
//Diagnostics Options
|
||||
|
||||
gnu-emacs: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should change the format for reporting errors and
|
||||
// warnings to a format that is more easily parsed by GNU Emacs.
|
||||
|
||||
quiet: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should output the summary of the numbers of errors
|
||||
// and warnings, or the welcome or informational messages.
|
||||
|
||||
show-errors: 6
|
||||
|
||||
// Type: Integer Default: 6 Example: 0, 1, 2, ...
|
||||
// This option specifies the number Tidy uses to determine if further errors should
|
||||
// be shown. If set to 0, then no errors are shown.
|
||||
|
||||
show-warnings: yes
|
||||
|
||||
// Type: Boolean Default: yes Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should suppress warnings. This can be useful when
|
||||
// a few errors are hidden in a flurry of warnings.
|
||||
|
||||
accessibility-check: 0
|
||||
|
||||
// Type: Integer Default: 0 Example: 0, 1, 2, 3
|
||||
// This option specifies what level of accessibility checking, if any, that Tidy
|
||||
// should do. Level 0 is equivalent to Tidy Classic's accessibility checking. For
|
||||
// more information on Tidy's accessibility checking, visit the Adaptive Technology
|
||||
// Resource Centre at the University of Toronto.
|
||||
|
||||
|
||||
//Pretty Print Options
|
||||
|
||||
indent: yes
|
||||
|
||||
// Type: AutoBool Default: no
|
||||
// Example: auto, y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should indent block-level tags. If set to "auto",
|
||||
// this option causes Tidy to decide whether or not to indent the content of tags
|
||||
// such as TITLE, H1-H6, LI, TD, TD, or P depending on whether or not the content
|
||||
// includes a block-level element. You are advised to avoid setting indent to yes
|
||||
// as this can expose layout bugs in some browsers.
|
||||
|
||||
indent-attributes: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should begin each attribute on a new line.
|
||||
|
||||
indent-spaces: 2
|
||||
|
||||
// Type: Integer Default: 2 Example: 0, 1, 2, ...
|
||||
// This option specifies the number of spaces Tidy uses to indent content, when
|
||||
// indentation is enabled.
|
||||
|
||||
literal-attributes: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should ensure that whitespace characters within
|
||||
// attribute values are passed through unchanged.
|
||||
|
||||
markup: yes
|
||||
|
||||
// Type: Boolean Default: yes Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should generate a pretty printed version of the
|
||||
// markup. Note that Tidy won't generate a pretty printed version if it finds
|
||||
// significant errors (see force-output).
|
||||
|
||||
tab-size: 8
|
||||
|
||||
// Type: Integer Default: 8 Example: 0, 1, 2, ...
|
||||
// This option specifies the number of columns that Tidy uses between successive
|
||||
// tab stops. It is used to map tabs to spaces when reading the input. Tidy never
|
||||
// outputs tabs.
|
||||
|
||||
wrap: 74
|
||||
|
||||
// Type: Integer Default: 68 Example: 0 (no wrapping), 1, 2, ...
|
||||
// This option specifies the right margin Tidy uses for line wrapping. Tidy tries
|
||||
// to wrap lines so that they do not exceed this length. Set wrap to zero if you
|
||||
// want to disable line wrapping.
|
||||
|
||||
wrap-asp: yes
|
||||
|
||||
// Type: Boolean Default: yes Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should line wrap text contained within ASP pseudo
|
||||
// elements, which look like: <% ... %>.
|
||||
|
||||
|
||||
wrap-attributes: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should line wrap attribute values, for easier
|
||||
// editing. This option can be set independently of wrap-script- literals.
|
||||
|
||||
wrap-jste: yes
|
||||
|
||||
// Type: Boolean Default: yes Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should line wrap text contained within JSTE pseudo
|
||||
// elements, which look like: <# ... #>.
|
||||
|
||||
wrap-php: yes
|
||||
|
||||
// Type: Boolean Default: yes Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should line wrap text contained within PHP pseudo
|
||||
// elements, which look like: <?php ... ?>.
|
||||
|
||||
wrap-script-literals: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should line wrap string literals that appear in
|
||||
// script attributes. Tidy wraps long script string literals by inserting a
|
||||
// backslash character before the line break.
|
||||
|
||||
wrap-sections: yes
|
||||
|
||||
// Type: Boolean Default: yes Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should line wrap text contained within <![ ... ]>
|
||||
// section tags.
|
||||
|
||||
|
||||
//Character Encoding Options
|
||||
|
||||
ascii-chars: yes
|
||||
|
||||
// Type: Boolean Default: yes Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// Can be used to modify behavior of -c (--clean yes) option. Defaults to "yes"
|
||||
// when using -c. Set to "no" to prevent converting >emdash;, ”, and other
|
||||
// named character entities to their ascii equivalents.
|
||||
|
||||
char-encoding: ascii
|
||||
|
||||
// Type: Encoding Default: ascii
|
||||
// Example: ascii, latin0, latin1, raw, utf8, iso2022, mac, win1252, ibm858, utf16,
|
||||
// utf16le, utf16be, big5, shiftjis
|
||||
// This option specifies the character encoding Tidy uses for both the input and
|
||||
// output. For ascii, Tidy will accept Latin-1 (ISO-8859-1) character values, but
|
||||
// will use entities for all characters whose value > 127. For raw, Tidy will
|
||||
// output values above 127 without translating them into entities. For latin1,
|
||||
// characters above 255 will be written as entities. For utf8, Tidy assumes that
|
||||
// both input and output is encoded as UTF-8. You can use iso2022 for files encoded
|
||||
// using the ISO-2022 family of encodings e.g. ISO-2022- JP. For mac and win1252,
|
||||
// Tidy will accept vendor specific character values, but will use entities for all
|
||||
// characters whose value > 127.
|
||||
|
||||
input-encoding: latin1
|
||||
|
||||
// Type: Encoding Default: latin1
|
||||
// Example: ascii, latin0, latin1, raw, utf8, iso2022, mac, win1252, ibm858, utf16,
|
||||
// utf16le, utf16be, big5, shiftjis
|
||||
// This option specifies the character encoding Tidy uses for the input. See char-
|
||||
// encoding for more info.
|
||||
|
||||
language: none
|
||||
|
||||
// Type: Language Default: -none- Example: en
|
||||
// Currently not used, but this option specifies the language Tidy uses.
|
||||
|
||||
output-bom: auto
|
||||
|
||||
// Type: AutoBool Default: auto Example: auto, y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should write a Unicode Byte Order Mark character
|
||||
// (BOM; also known as Zero Width No-Break Space; has value of U+FEFF) to the
|
||||
// beginning of the output; only for UTF-8 and UTF-16 output encodings. If set to
|
||||
// "auto", this option causes Tidy to write a BOM to the output only if a BOM was
|
||||
// present at the beginning of the input. A BOM is always written for XML/XHTML
|
||||
// output using UTF-16 output encodings.
|
||||
|
||||
output-encoding: ascii
|
||||
|
||||
// Type: Encoding Default: ascii
|
||||
// Example: ascii, latin0, latin1, raw, utf8, iso2022, mac, win1252, ibm858, utf16,
|
||||
// utf16le, utf16be, big5, shiftjis
|
||||
// This option specifies the character encoding Tidy uses for the output. See char-
|
||||
// encoding for more info. May only be different from input-encoding for Latin
|
||||
// encodings (ascii, latin0, latin1, mac, win1252, ibm858).
|
||||
|
||||
newline: LF
|
||||
|
||||
// Type: Enum Default: Platform Dependent Example: LF, CRLF, CR
|
||||
// The default is appropriate to the current platform: CRLF on Windows and OS/2, CR
|
||||
// on the Mac and LF everywhere else (Unix and Linux).
|
||||
|
||||
|
||||
//Miscellaneous Options
|
||||
|
||||
escape-scripts: yes
|
||||
fix-backslash: yes
|
||||
|
||||
// Type: Boolean Default: yes Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should replace backslash characters "\" in URLs by
|
||||
// forward slashes "/".
|
||||
|
||||
// output-file:
|
||||
// Type: String Default: -none-
|
||||
// This option specifies the output file Tidy uses for markup. Normally markup is
|
||||
// written to "stdout".
|
||||
|
||||
//error-file:
|
||||
// Type: String Default: -none-
|
||||
// This option specifies the error file Tidy uses for errors and warnings. Normally
|
||||
// errors and warnings are output to "stderr".
|
||||
|
||||
fix-bad-comments: auto
|
||||
fix-style-tags: yes
|
||||
fix-uri: yes
|
||||
force-output: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should produce output even if errors are
|
||||
// encountered. Use this option with care - if Tidy reports an error, this means
|
||||
// Tidy was not able to, or is not sure how to, fix the error, so the resulting
|
||||
// output may not reflect your intention.
|
||||
|
||||
keep-time: yes
|
||||
|
||||
// Type: Boolean Default: yes Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should alter the last modified time for files it
|
||||
// writes back to. The default is no, which allows you to tidy files without
|
||||
// affecting which ones will be uploaded to a Web server when using a tool such as
|
||||
// 'SiteCopy'. Note that this feature may not work on some platforms.
|
||||
|
||||
write-back: no
|
||||
|
||||
// Type: Boolean Default: no Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should write back the tidied markup to the same
|
||||
// file it read from. You are advised to keep copies of important files before
|
||||
// tidying them, as on rare occasions the result may not be what you expect.
|
||||
|
||||
gdoc: no
|
||||
gnu-emacs: no
|
||||
hide-comments: no
|
||||
indent: auto
|
||||
indent-attributes: no
|
||||
indent-cdata: no
|
||||
indent-spaces: 2
|
||||
indent-with-tabs: no
|
||||
input-encoding: utf8
|
||||
input-xml: no
|
||||
join-classes: no
|
||||
join-styles: yes
|
||||
keep-tabs: no
|
||||
keep-time: no
|
||||
literal-attributes: no
|
||||
logical-emphasis: no
|
||||
lower-literals: yes
|
||||
markup: yes
|
||||
merge-divs: auto
|
||||
merge-emphasis: yes
|
||||
merge-spans: auto
|
||||
mute:
|
||||
mute-id: no
|
||||
ncr: yes
|
||||
new-blocklevel-tags:
|
||||
new-empty-tags:
|
||||
new-inline-tags:
|
||||
new-pre-tags:
|
||||
newline: LF
|
||||
numeric-entities: no
|
||||
omit-optional-tags: no
|
||||
output-bom: auto
|
||||
output-encoding: utf8
|
||||
output-file:
|
||||
output-html: no
|
||||
output-xhtml: no
|
||||
output-xml: no
|
||||
preserve-entities: no
|
||||
priority-attributes:
|
||||
punctuation-wrap: no
|
||||
quiet: no
|
||||
quote-ampersand: yes
|
||||
quote-marks: no
|
||||
quote-nbsp: yes
|
||||
repeated-attributes: keep-last
|
||||
replace-color: no
|
||||
show-body-only: no
|
||||
show-errors: 6
|
||||
show-info: yes
|
||||
show-meta-change: no
|
||||
show-warnings: yes
|
||||
skip-nested: yes
|
||||
sort-attributes: none
|
||||
strict-tags-attributes: no
|
||||
tab-size: 8
|
||||
tidy-mark: no
|
||||
|
||||
// Type: Boolean Default: yes Example: y/n, yes/no, t/f, true/false, 1/0
|
||||
// This option specifies if Tidy should add a meta element to the document head to
|
||||
// indicate that the document has been tidied. Tidy won't add a meta element if one
|
||||
// is already present.
|
||||
uppercase-attributes: no
|
||||
uppercase-tags: no
|
||||
vertical-space: no
|
||||
warn-proprietary-attributes: yes
|
||||
word-2000: no
|
||||
wrap: 0
|
||||
wrap-asp: yes
|
||||
wrap-attributes: no
|
||||
wrap-jste: yes
|
||||
wrap-php: yes
|
||||
wrap-script-literals: no
|
||||
wrap-sections: yes
|
||||
write-back: no
|
||||
|
Loading…
x
Reference in New Issue
Block a user