agelessdummy / vimwiki

Automatically exported from code.google.com/p/vimwiki
0 stars 1 forks source link

How to use original value of special character, such as $ , [[]] ? #375

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.typed content: "here $1 is aaa, $2 is bbb"
2.convert wiki to HTML, you will get content: "here \(1 is aaa, \(2 is bbb"

What is the expected output? 
"here $1 is aaa, $2 is bbb"

And what should I do to output the original "$" ?

By the way :
we can use backslash to express the original value of a character in RegExp:
For example: "here \$1 is aaa"

Original issue reported on code.google.com by colinv...@gmail.com on 17 Sep 2012 at 3:10

GoogleCodeExporter commented 8 years ago
you can typed as"here $1 is aaa, 
$2 is bbb"
just make the two $ not in a single line, then you'll get what you want.

Original comment by xuezai...@gmail.com on 19 Mar 2013 at 11:31

GoogleCodeExporter commented 8 years ago
GoodJob 。 my buddy

Original comment by colinv...@gmail.com on 24 Mar 2013 at 1:40