Once the blog / web site has sufficient content, Searching functionality is very critical.
There are a few options for adding a Search functionality to blog hosted on
GitHub pages:
For this blog, I decide to take another path and leverage search functionlity of GitHub.
The content for this blog is written in Markdown and is stored in GitHub repository.
So let’s search the Markdown code in the repository and translate urls of matches on to generated
blog site.
Following is a sample HTML and Javascript code that searches GitHub repository: