{"action":"created","comment":{"url":"https://api.github.com/repos/twbs/bootstrap/pulls/comments/73135043","id":73135043,"diff_hunk":"@@ -0,0 +1,80 @@\n+module Jekyll\n+  module Tags\n+    class ExampleBlock < Liquid::Block\n+      include Liquid::StandardFilters\n+\n+      # The regular expression syntax checker. Start with the language specifier.\n+      # Follow that by zero or more space separated options that take one of three\n+      # forms: name, name=value, or name=\"<quoted list>\"\n+      #\n+      # <quoted list> is a space-separated list of numbers\n+      SYNTAX = /^([a-zA-Z0-9.+#-]+)((\\s+\\w+(=((\\w|[0-9_-])+|\"([0-9]+\\s)*[0-9]+\"))?)*)$/\n+\n+      def initialize(tag_name, markup, tokens)\n+        super\n+        if markup.strip =~ SYNTAX\n+          @lang = $1.downcase\n+          @options = {}\n+          if defined?($2) && $2 != ''\n+            # Split along 3 possible forms -- key=\"<quoted list>\", key=value, or key\n+            $2.scan(/(?:\\w+(?:=(?:(?:\\w|[0-9_-])+|\"[^\"]*\")?)?)/) do |opt|\n+              key, value = opt.split('=')\n+              # If a quoted list, convert to array\n+              if value && value.include?(\"\\\"\")\n+                  value.gsub!(/\"/, \"\")","path":"docs/_plugins/highlight_alt.rb","position":24,"original_position":24,"commit_id":"e6c98a6b1136ed14a5ba7e7006c2d7e85cde030a","original_commit_id":"e6c98a6b1136ed14a5ba7e7006c2d7e85cde030a","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Use `delete!` instead of `gsub!`.<br>Use 2 (not 4) spaces for indentation.","created_at":"2016-08-02T10:58:15Z","updated_at":"2016-08-02T10:58:15Z","html_url":"https://github.com/twbs/bootstrap/pull/20438#discussion_r73135043","pull_request_url":"https://api.github.com/repos/twbs/bootstrap/pulls/20438","_links":{"self":{"href":"https://api.github.com/repos/twbs/bootstrap/pulls/comments/73135043"},"html":{"href":"https://github.com/twbs/bootstrap/pull/20438#discussion_r73135043"},"pull_request":{"href":"https://api.github.com/repos/twbs/bootstrap/pulls/20438"}}},"pull_request":{"url":"https://api.github.com/repos/twbs/bootstrap/pulls/20438","id":79715243,"html_url":"https://github.com/twbs/bootstrap/pull/20438","diff_url":"https://github.com/twbs/bootstrap/pull/20438.diff","patch_url":"https://github.com/twbs/bootstrap/pull/20438.patch","issue_url":"https://api.github.com/repos/twbs/bootstrap/issues/20438","number":20438,"state":"closed","locked":false,"title":"V4 grid classes","user":{"login":"voltel","id":17889468,"avatar_url":"https://avatars.githubusercontent.com/u/17889468?v=3","gravatar_id":"","url":"https://api.github.com/users/voltel","html_url":"https://github.com/voltel","followers_url":"https://api.github.com/users/voltel/followers","following_url":"https://api.github.com/users/voltel/following{/other_user}","gists_url":"https://api.github.com/users/voltel/gists{/gist_id}","starred_url":"https://api.github.com/users/voltel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voltel/subscriptions","organizations_url":"https://api.github.com/users/voltel/orgs","repos_url":"https://api.github.com/users/voltel/repos","events_url":"https://api.github.com/users/voltel/events{/privacy}","received_events_url":"https://api.github.com/users/voltel/received_events","type":"User","site_admin":false},"body":"I suggest a feature that I'm unaware of in bootstrap but I found useful working with w3.css. \r\nIt's a grid class [.w3-rest](http://www.w3schools.com/w3css/w3css_grid.asp) which helps a column take the remaining space in a row.\r\n\r\nFor example instead of **class=\"col-sm-9 col-lg-10\"** as in: \r\n```\r\n<div class=\"row container\">\r\n    <figure class=\"col-sm-3 col-lg-2\">\r\n        <a href=\"index.php\"><img src=\"../img/image.png\" </a>\r\n    </figure>\r\n    <div class=\"col-sm-9 col-lg-10\">\r\n        <h1><span>Big Heading</span></h1>\r\n    </div><!-- .col-*-* -->\r\n</div><!-- .row -->\r\n```\r\n\r\none could write a bit simpler version of **class=\"col-rest\"** as in: \r\n```\r\n<div class=\"row container\">\r\n    <figure class=\"col-sm-3 col-lg-2\">\r\n        <a href=\"index.php\"><img src=\"../img/image.png\" </a>\r\n    </figure>\r\n    <div class=\"col-rest\">\r\n        <h1><span>Big Heading</span></h1>\r\n    </div><!-- .col-rest -->\r\n</div><!-- .row -->\r\n```\r\n\r\n\r\nwith .col-rest css rules is my_styles.scss file: \r\n```\r\n/* location of mixin after installation with Composer */\r\n@import \"../vendor/twbs/bootstrap/scss/mixins/_grid.scss\";\r\n\r\n/* w3 hack for containers with floating elements *inside* OR/AND to the *left/right* */  \r\n.col-rest {\r\n    overflow: hidden;  \r\n    @include make-container();    /* provide the same padding as in col-*-* classes */\r\n    }\r\n```\r\n\r\nwhich after compilation resulted in: \r\n```\r\ncol-rest::after {\r\n    clear: both;\r\n    content: \"\";\r\n    display: table;\r\n}\r\n\r\n.col-rest {\r\n    margin-left: auto;\r\n    margin-right: auto;\r\n    overflow: hidden;\r\n    padding-left: 15px;\r\n    padding-right: 15px;\r\n}\r\n```\r\n","created_at":"2016-08-02T10:58:02Z","updated_at":"2016-08-02T10:58:17Z","closed_at":"2016-08-02T10:58:09Z","merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/twbs/bootstrap/pulls/20438/commits","review_comments_url":"https://api.github.com/repos/twbs/bootstrap/pulls/20438/comments","review_comment_url":"https://api.github.com/repos/twbs/bootstrap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/twbs/bootstrap/issues/20438/comments","statuses_url":"https://api.github.com/repos/twbs/bootstrap/statuses/e6c98a6b1136ed14a5ba7e7006c2d7e85cde030a","head":{"label":"twbs:v4-grid-classes","ref":"v4-grid-classes","sha":"e6c98a6b1136ed14a5ba7e7006c2d7e85cde030a","user":{"login":"twbs","id":2918581,"avatar_url":"https://avatars.githubusercontent.com/u/2918581?v=3","gravatar_id":"","url":"https://api.github.com/users/twbs","html_url":"https://github.com/twbs","followers_url":"https://api.github.com/users/twbs/followers","following_url":"https://api.github.com/users/twbs/following{/other_user}","gists_url":"https://api.github.com/users/twbs/gists{/gist_id}","starred_url":"https://api.github.com/users/twbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twbs/subscriptions","organizations_url":"https://api.github.com/users/twbs/orgs","repos_url":"https://api.github.com/users/twbs/repos","events_url":"https://api.github.com/users/twbs/events{/privacy}","received_events_url":"https://api.github.com/users/twbs/received_events","type":"Organization","site_admin":false},"repo":{"id":2126244,"name":"bootstrap","full_name":"twbs/bootstrap","owner":{"login":"twbs","id":2918581,"avatar_url":"https://avatars.githubusercontent.com/u/2918581?v=3","gravatar_id":"","url":"https://api.github.com/users/twbs","html_url":"https://github.com/twbs","followers_url":"https://api.github.com/users/twbs/followers","following_url":"https://api.github.com/users/twbs/following{/other_user}","gists_url":"https://api.github.com/users/twbs/gists{/gist_id}","starred_url":"https://api.github.com/users/twbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twbs/subscriptions","organizations_url":"https://api.github.com/users/twbs/orgs","repos_url":"https://api.github.com/users/twbs/repos","events_url":"https://api.github.com/users/twbs/events{/privacy}","received_events_url":"https://api.github.com/users/twbs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/twbs/bootstrap","description":"The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.","fork":false,"url":"https://api.github.com/repos/twbs/bootstrap","forks_url":"https://api.github.com/repos/twbs/bootstrap/forks","keys_url":"https://api.github.com/repos/twbs/bootstrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twbs/bootstrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twbs/bootstrap/teams","hooks_url":"https://api.github.com/repos/twbs/bootstrap/hooks","issue_events_url":"https://api.github.com/repos/twbs/bootstrap/issues/events{/number}","events_url":"https://api.github.com/repos/twbs/bootstrap/events","assignees_url":"https://api.github.com/repos/twbs/bootstrap/assignees{/user}","branches_url":"https://api.github.com/repos/twbs/bootstrap/branches{/branch}","tags_url":"https://api.github.com/repos/twbs/bootstrap/tags","blobs_url":"https://api.github.com/repos/twbs/bootstrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twbs/bootstrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twbs/bootstrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/twbs/bootstrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twbs/bootstrap/statuses/{sha}","languages_url":"https://api.github.com/repos/twbs/bootstrap/languages","stargazers_url":"https://api.github.com/repos/twbs/bootstrap/stargazers","contributors_url":"https://api.github.com/repos/twbs/bootstrap/contributors","subscribers_url":"https://api.github.com/repos/twbs/bootstrap/subscribers","subscription_url":"https://api.github.com/repos/twbs/bootstrap/subscription","commits_url":"https://api.github.com/repos/twbs/bootstrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/twbs/bootstrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/twbs/bootstrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/twbs/bootstrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/twbs/bootstrap/contents/{+path}","compare_url":"https://api.github.com/repos/twbs/bootstrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twbs/bootstrap/merges","archive_url":"https://api.github.com/repos/twbs/bootstrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twbs/bootstrap/downloads","issues_url":"https://api.github.com/repos/twbs/bootstrap/issues{/number}","pulls_url":"https://api.github.com/repos/twbs/bootstrap/pulls{/number}","milestones_url":"https://api.github.com/repos/twbs/bootstrap/milestones{/number}","notifications_url":"https://api.github.com/repos/twbs/bootstrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twbs/bootstrap/labels{/name}","releases_url":"https://api.github.com/repos/twbs/bootstrap/releases{/id}","deployments_url":"https://api.github.com/repos/twbs/bootstrap/deployments","created_at":"2011-07-29T21:19:00Z","updated_at":"2016-08-02T10:37:47Z","pushed_at":"2016-08-02T10:58:02Z","git_url":"git://github.com/twbs/bootstrap.git","ssh_url":"git@github.com:twbs/bootstrap.git","clone_url":"https://github.com/twbs/bootstrap.git","svn_url":"https://github.com/twbs/bootstrap","homepage":"http://getbootstrap.com","size":205497,"stargazers_count":99005,"watchers_count":99005,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":44137,"mirror_url":null,"open_issues_count":626,"forks":44137,"open_issues":626,"watchers":99005,"default_branch":"master"}},"base":{"label":"twbs:master","ref":"master","sha":"c282ca589cf44076f7434b2c20531fb76e0f6750","user":{"login":"twbs","id":2918581,"avatar_url":"https://avatars.githubusercontent.com/u/2918581?v=3","gravatar_id":"","url":"https://api.github.com/users/twbs","html_url":"https://github.com/twbs","followers_url":"https://api.github.com/users/twbs/followers","following_url":"https://api.github.com/users/twbs/following{/other_user}","gists_url":"https://api.github.com/users/twbs/gists{/gist_id}","starred_url":"https://api.github.com/users/twbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twbs/subscriptions","organizations_url":"https://api.github.com/users/twbs/orgs","repos_url":"https://api.github.com/users/twbs/repos","events_url":"https://api.github.com/users/twbs/events{/privacy}","received_events_url":"https://api.github.com/users/twbs/received_events","type":"Organization","site_admin":false},"repo":{"id":2126244,"name":"bootstrap","full_name":"twbs/bootstrap","owner":{"login":"twbs","id":2918581,"avatar_url":"https://avatars.githubusercontent.com/u/2918581?v=3","gravatar_id":"","url":"https://api.github.com/users/twbs","html_url":"https://github.com/twbs","followers_url":"https://api.github.com/users/twbs/followers","following_url":"https://api.github.com/users/twbs/following{/other_user}","gists_url":"https://api.github.com/users/twbs/gists{/gist_id}","starred_url":"https://api.github.com/users/twbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twbs/subscriptions","organizations_url":"https://api.github.com/users/twbs/orgs","repos_url":"https://api.github.com/users/twbs/repos","events_url":"https://api.github.com/users/twbs/events{/privacy}","received_events_url":"https://api.github.com/users/twbs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/twbs/bootstrap","description":"The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.","fork":false,"url":"https://api.github.com/repos/twbs/bootstrap","forks_url":"https://api.github.com/repos/twbs/bootstrap/forks","keys_url":"https://api.github.com/repos/twbs/bootstrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twbs/bootstrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twbs/bootstrap/teams","hooks_url":"https://api.github.com/repos/twbs/bootstrap/hooks","issue_events_url":"https://api.github.com/repos/twbs/bootstrap/issues/events{/number}","events_url":"https://api.github.com/repos/twbs/bootstrap/events","assignees_url":"https://api.github.com/repos/twbs/bootstrap/assignees{/user}","branches_url":"https://api.github.com/repos/twbs/bootstrap/branches{/branch}","tags_url":"https://api.github.com/repos/twbs/bootstrap/tags","blobs_url":"https://api.github.com/repos/twbs/bootstrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twbs/bootstrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twbs/bootstrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/twbs/bootstrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twbs/bootstrap/statuses/{sha}","languages_url":"https://api.github.com/repos/twbs/bootstrap/languages","stargazers_url":"https://api.github.com/repos/twbs/bootstrap/stargazers","contributors_url":"https://api.github.com/repos/twbs/bootstrap/contributors","subscribers_url":"https://api.github.com/repos/twbs/bootstrap/subscribers","subscription_url":"https://api.github.com/repos/twbs/bootstrap/subscription","commits_url":"https://api.github.com/repos/twbs/bootstrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/twbs/bootstrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/twbs/bootstrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/twbs/bootstrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/twbs/bootstrap/contents/{+path}","compare_url":"https://api.github.com/repos/twbs/bootstrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twbs/bootstrap/merges","archive_url":"https://api.github.com/repos/twbs/bootstrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twbs/bootstrap/downloads","issues_url":"https://api.github.com/repos/twbs/bootstrap/issues{/number}","pulls_url":"https://api.github.com/repos/twbs/bootstrap/pulls{/number}","milestones_url":"https://api.github.com/repos/twbs/bootstrap/milestones{/number}","notifications_url":"https://api.github.com/repos/twbs/bootstrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twbs/bootstrap/labels{/name}","releases_url":"https://api.github.com/repos/twbs/bootstrap/releases{/id}","deployments_url":"https://api.github.com/repos/twbs/bootstrap/deployments","created_at":"2011-07-29T21:19:00Z","updated_at":"2016-08-02T10:37:47Z","pushed_at":"2016-08-02T10:58:02Z","git_url":"git://github.com/twbs/bootstrap.git","ssh_url":"git@github.com:twbs/bootstrap.git","clone_url":"https://github.com/twbs/bootstrap.git","svn_url":"https://github.com/twbs/bootstrap","homepage":"http://getbootstrap.com","size":205497,"stargazers_count":99005,"watchers_count":99005,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":44137,"mirror_url":null,"open_issues_count":626,"forks":44137,"open_issues":626,"watchers":99005,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/twbs/bootstrap/pulls/20438"},"html":{"href":"https://github.com/twbs/bootstrap/pull/20438"},"issue":{"href":"https://api.github.com/repos/twbs/bootstrap/issues/20438"},"comments":{"href":"https://api.github.com/repos/twbs/bootstrap/issues/20438/comments"},"review_comments":{"href":"https://api.github.com/repos/twbs/bootstrap/pulls/20438/comments"},"review_comment":{"href":"https://api.github.com/repos/twbs/bootstrap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/twbs/bootstrap/pulls/20438/commits"},"statuses":{"href":"https://api.github.com/repos/twbs/bootstrap/statuses/e6c98a6b1136ed14a5ba7e7006c2d7e85cde030a"}}}}
{"actor":{"display_login":"houndci-bot"}}