Searches the MDN Web Docs for a search term. Includes an RStudio addin for quick and seamless searching: highlight a term in the source code and run the addin to search MDN. If no text is highlighted, the addin opens a Shiny gadget for you to enter your search term.
mdn_search( term, browse = TRUE, topics = c("js", "api", "css", "html", "svg"), locale = "en-US" ) mdn_gadget(browse = TRUE, locale = NULL)
term | Search term |
---|---|
browse | Should the search results be opened in a browser window? If not, the URL is returned instead. |
topics | A selection of topics to search, choosing from |
locale | The locale string for the search query. Default is |
The search URL
mdn_gadget
: A Shiny gadget for searching the MDN docs.