49 lines
2.5 KiB
HTML
49 lines
2.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
|
<title>~/code/vim-markdown/spec/features/blockquotes_nested.md.html</title>
|
|
<meta name="Generator" content="Vim/7.4">
|
|
<meta name="plugin-version" content="vim7.4_v1">
|
|
<meta name="syntax" content="markdown">
|
|
<meta name="settings" content="use_css,pre_wrap,no_foldcolumn,expand_tabs,prevent_copy=">
|
|
<meta name="colorscheme" content="none">
|
|
<style type="text/css">
|
|
<!--
|
|
pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffff; }
|
|
body { font-family: monospace; color: #000000; background-color: #ffffff; }
|
|
* { font-size: 1em; }
|
|
.Comment { color: #0000c0; }
|
|
.Special { color: #c000c0; }
|
|
-->
|
|
</style>
|
|
|
|
<script type='text/javascript'>
|
|
<!--
|
|
|
|
-->
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<pre id='vimCodeElement'>
|
|
<span class="Special">> </span><span class="Comment">First level blockquote</span>
|
|
<span class="Special">> > </span><span class="Comment">Second level blockquote</span>
|
|
<span class="Special">>> </span><span class="Comment">Second level blockquote</span>
|
|
<span class="Special">> > > </span><span class="Comment">Third level blockquote</span>
|
|
<span class="Special">>>> </span><span class="Comment">Third level blockquote</span>
|
|
|
|
<span class="Special">> </span><span class="Comment"># Nested elements problem</span>
|
|
<span class="Special">> </span><span class="Comment">Nested elements inside blockquotes and other elements could be very problematic</span>
|
|
<span class="Special">></span>
|
|
<span class="Special">> </span><span class="Comment">## A conscious choice</span>
|
|
<span class="Special">> </span><span class="Comment">I chose to not highlight nested elements because:</span>
|
|
<span class="Special">> </span><span class="Comment">* things could get really nasty in the syntax definition</span>
|
|
<span class="Special">> </span><span class="Comment">* the end result could get confusing for the user (ex. No difference in the highlight between an headline inside and outside a blockquote)</span>
|
|
<span class="Special">></span>
|
|
<span class="Special">> </span><span class="Comment">## An alternative solution</span>
|
|
<span class="Special">> </span><span class="Comment">MdEditBlock will open the next level of the Blockquote block under cursor in a scratch buffer with a markdown syntax highlight</span>
|
|
</pre>
|
|
</body>
|
|
</html>
|
|
<!-- vim: set foldmethod=manual : -->
|