Farabi
view release on metacpan or search on metacpan
lib/Farabi/files/public/assets/codemirror/mode/markdown/index.html view on Meta::CPAN
316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345
<
;code
>
;
&
;amp;mdash;
<
;/code
>
; instead of decimal-encoded
entites like
<
;code
>
;
&
;amp;
#8212;</code>.</p>
To specify an entire block of pre-formatted code, indent every line of
the block by 4 spaces or 1 tab. Just like
with
code spans, `
&
;`, `
<
;`,
and `
>
;` characters will be escaped automatically.
Markdown:
If you want your page to validate under XHTML 1.0 Strict,
you've got to put paragraph tags in your blockquotes:
<
;blockquote
>
;
<
;p
>
;For example.
<
;/p
>
;
<
;/blockquote
>
;
Output:
<
;p
>
;If you want your page to validate under XHTML 1.0 Strict,
you've got to put paragraph tags in your blockquotes:
<
;/p
>
;
<
;pre
>
;
<
;code
>
;
&
;lt;blockquote
&
;gt;
&
;lt;p
&
;gt;For example.
&
;lt;/p
&
;gt;
&
;lt;/blockquote
&
;gt;
<
;/code
>
;
<
;/pre
>
;
</textarea></form>
<script>
var editor = CodeMirror.fromTextArea(document.getElementById(
"code"
), {
lib/Farabi/files/public/assets/codemirror/mode/xquery/index.html view on Meta::CPAN
166167168169170171172173174175176177178179180181182183184185186&
;lt;e quote=
"
;true
"
;
&
;gt;
&
;lt;div attrib=
"
;value
"
;/
&
;gt;
&
;lt;/e
&
;gt; becomes {
"
;e
"
;:
"
;
&
;lt;div attrib=\
"
;value\
"
;/
&
;gt;
"
;}
<
;/pre
>
;
<
;p/
>
;
Namespace URIs are ignored. Namespace prefixes are included in the JSON name.
<
;p/
>
;
Attributes are ignored, except
for
the special attribute
@array
=
"
;true
"
; that
indicates the JSON serialization should
write
the node, even
if
single, as an
array, and the attribute
@type
that can be set to
"
;boolean
"
; or
"
;number
"
; to
dictate the value should be written as that type (unquoted). There's also
an
@quote
attribute that
when
set to true writes the inner content as text
rather than as structured JSON, useful
for
sending some XHTML over the
wire.
<
;p/
>
;
Text nodes within mixed content are ignored.
@param
$x
Element node to convert
@return
String holding JSON serialized representation of
$x
@author
Jason Hunter
@version
1.0.1
( run in 0.918 second using v1.01-cache-2.11-cpan-a9ef4e587e4 )