How to filter search in TeX.SX to those have code in them. Also how to search inside the codes themselves.
2 Answers
Searching for posts that contains code can be achieved using the boolean operator hascode
. More specifically, hascode:
with yes
/true
/1
returns only posts that contain code blocks; no
/false
/0
returns only posts that contain no code.
Searching for posts where inline code (via backticks or <code>
...</code>
markdown) contains a specific <string>
is achieved using code:<string>
.
More search options are available from the search help center
Simply "hascode:yes", "hascode:1" or "hascode:true" should be added to search results.
CTRL-F
for Firefox ...