Generates HTML Page From Github README.md - jQuery gh-readme

Generates HTML Page From Github README.md - jQuery gh-readme

The gh-readme jQuery plugin dynamically fetches Readme.md file from your Github repository and renders the README content as HTML on the webpage.

Can be used as a dynamic site creator that helps developers to generate a documentation page from the README.md file of the repository.

1. Load the minified version of the jQuery gh-readme plugin after loading jQuery library.

<script src="https://code.jquery.com/jquery-3.3.1.min.js" 
        integrity="sha384-tsQFqpEReu7ZLhBV2VZlAu7zcOV+rXbYlF2cqB8txI/8aZajjp4Bqd+V6D5IgvKT" 
        crossorigin="anonymous">
</script>
<script src="jquery.gh-readme.min.js"></script>

2. Create a container in which you want to render the Readme.md file.

<div id="readme"></div>

3. Call the function on the container element and specify the Github username & repository name.

$(function () {
  var options = {
    owner: 'jqueryscript',
    repo: 'safe-delete'
  };
  $('#readme').readme(options);
});

This awesome jQuery plugin is developed by zmckinnon. For more Advanced Usages, please check the demo page or visit the official website.

  • Publication date: 09.02.2019
  • Source

Whoops, looks like something went wrong.

(1/1) ErrorException

file_put_contents(): Only 0 of 249 bytes written, possibly out of free disk space

in Filesystem.php (line 122)
at HandleExceptions->handleError(2, 'file_put_contents(): Only 0 of 249 bytes written, possibly out of free disk space', '/home/p336588/web/ivanovdmitry.com/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php', 122, array('path' => '/home/p336588/web/ivanovdmitry.com/public_html/storage/framework/sessions/Y7KXdMcxJuiRs6zXZp9AXPMFUxuT921vC6cS8QYZ', 'contents' => 'a:3:{s:6:"_token";s:40:"n8nLZ8g53LjjqwBj3pK9ezwojiYade5vYy6CZh0P";s:9:"_previous";a:1:{s:3:"url";s:91:"http://ivanovdmitry.com/blog/post/generates-html-page-from-github-readmemd-jquery-gh-readme";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', 'lock' => true))
at file_put_contents('/home/p336588/web/ivanovdmitry.com/public_html/storage/framework/sessions/Y7KXdMcxJuiRs6zXZp9AXPMFUxuT921vC6cS8QYZ', 'a:3:{s:6:"_token";s:40:"n8nLZ8g53LjjqwBj3pK9ezwojiYade5vYy6CZh0P";s:9:"_previous";a:1:{s:3:"url";s:91:"http://ivanovdmitry.com/blog/post/generates-html-page-from-github-readmemd-jquery-gh-readme";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', 2)in Filesystem.php (line 122)
at Filesystem->put('/home/p336588/web/ivanovdmitry.com/public_html/storage/framework/sessions/Y7KXdMcxJuiRs6zXZp9AXPMFUxuT921vC6cS8QYZ', 'a:3:{s:6:"_token";s:40:"n8nLZ8g53LjjqwBj3pK9ezwojiYade5vYy6CZh0P";s:9:"_previous";a:1:{s:3:"url";s:91:"http://ivanovdmitry.com/blog/post/generates-html-page-from-github-readmemd-jquery-gh-readme";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', true)in FileSessionHandler.php (line 83)
at FileSessionHandler->write('Y7KXdMcxJuiRs6zXZp9AXPMFUxuT921vC6cS8QYZ', 'a:3:{s:6:"_token";s:40:"n8nLZ8g53LjjqwBj3pK9ezwojiYade5vYy6CZh0P";s:9:"_previous";a:1:{s:3:"url";s:91:"http://ivanovdmitry.com/blog/post/generates-html-page-from-github-readmemd-jquery-gh-readme";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}')in Store.php (line 128)
at Store->save()in StartSession.php (line 88)
at StartSession->terminate(object(Request), object(Response))in Kernel.php (line 218)
at Kernel->terminateMiddleware(object(Request), object(Response))in Kernel.php (line 189)
at Kernel->terminate(object(Request), object(Response))in index.php (line 58)