Difference between revisions of "Documentation:How to use the Parser"

Jump to navigation Jump to search
no edit summary
Line 66: Line 66:
I didn’t want to look for another example so I just used the same source text but removed apostrophes from it.  
I didn’t want to look for another example so I just used the same source text but removed apostrophes from it.  


[[File:PresidentsWithoutApostraphes.png|600px]]


Let’s pretend that it was like that to begin with. Now there is nothing unique about the links that contain the names of US presidents.
Let’s pretend that it was like that to begin with. Now there is nothing unique about the links that contain the names of US presidents. What to do in this case? I would start by finding the dates first.
 
[[File:PresidentsDatesFirst.png|600px]]
 
Once dates are highlighted it is easier to visually find presidents in the text. At this point you can manually select presidents' names with a mouse and highlight them using the Control key on the keyboard. But there is an easier way. You can make the syntax around the presidents' names a bit more special than that of other links. For example, you can add an asterisk in front of the opening brackets: <code><nowiki>*[[George Washington]]</nowiki></code>.
 
Then you can add <code><nowiki>*[[</nowiki></code> and <code><nowiki>]]</nowiki></code> in the small input field and click 'Select'. Now all the presidents will be selected.
 
[[File:PresidentsAsterisks.png|600px]]

Navigation menu