(1) I want to highlight the word, so I marked the word with the " == ==".
e.g. yellow,==green==,white
(2) When I use the search function to search that original sentence " yellow,green,white" , but can’t be found because the “====” is marked
Expected result
I hope even if I highlight or bold the word, I can also search the original sentence.
Because if I highlight the word, there will shows the == == in the sentence, that may cause the search function can’t search the original sentence.
Ok, I tested in 0.9.15 we made some improvements.
It’s not quite what you want, that is, a serch function that is aware of the markdown syntax. But you can get your results using properly the current search syntax.
searching for: yellow green white will get your results, even if some words are highlighted.
searching for "yellow, green, white" (that is, using whole word won’t work).
But it still can’t work for the “yellow, green, white”.
In the edit mode, I must to mark ==== to mark the word. “a,==b==,c”
But in the preview mode, I will see “a,b,c”.
I hope the search function can match what “preview mode” shows, not edit mode shows. Because edit mode is just for editing, what we will see is the preview mode.
If this can work, it will be more convenient and helps a lot.
After checking out the docs, still can’t work by searching the whole original sentence.
For another example, if I search the Chinese sentence: 這是黃色的筆。(English: This is a yellow pen.)
If I mark the word: 這是==黃色==的筆 , then I can’t search the original sentence:這是黃色的筆 . Because the sentence is separated by the == ==.
So I hope that the search function can match what “preview mode” shows, not “edit mode” shows. Because edit mode is just for editing, what we will see is the preview mode.
Could you please help me with this? Thank you very much.
My only advice is to split the words 這是 黃色 的筆 while searching. I understand that this does not feel natural in chinese. You can open a feature request for this case.