Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
10 additions
and
366 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,6 +1,6 @@ | |||
module GitHub | module GitHub | ||
module Markup | module Markup | ||
VERSION = '0.7.4' | VERSION = '0.7.5' | ||
Version = VERSION | Version = VERSION | ||
end | end | ||
end | end |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
320e6e0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not 100% sure it is related to this commit but it seems like the line breaks from code block in asciidoc-generated files are broken again. And I seem to recall they were fine yesterday.
See #108 for the previous line break issue (that was fixed).
See https://github.com/herve-quiroz/tc-opts for an example of an asciidoc README where there should be line breaks in most of the code blocks.
320e6e0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems, that this breaks the AsciiDoc rendering.
For instance tables are not rendered: http://i.imgur.com/b57fu.png
https://github.com/jakoch/asciidoc-cheatsheet/blob/master/asciidoc-866_tables.asciidoc
320e6e0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In case anyone cares, I created an issue for this: #175
320e6e0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Afaik asciidoctor is not full replacement for asciidoc and it doest support all features yet.
320e6e0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The issue has been fixed in asciidoctor: erebor/asciidoctor#36
320e6e0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Asciidoctor now supports nearly every feature of AsciiDoc, including tables (as soon as pull request https://github.com/erebor/asciidoctor/pull/73 is merged).
320e6e0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well in any case the Asciidoc rendering is currently not happening at all (i.e. it's not just an issue with tables or code blocks). It's been broken for more than a week now. Strange that it hasn't been fixed earlier. See #180 for the related issue.
320e6e0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very good work, Dan! 👍
Regarding the broken rendering, i guess, Github needs to update their Asciidoctor package.
Also setting up some WebTestCases for testing features, like "Asciidoc Rendering" or "Markdown Rendering" would be good.
But that's another story and not related to Asciidoctor at all.
320e6e0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the tests are already there:
https://github.com/github/markup/blob/master/test/markups/README.asciidoc
https://github.com/github/markup/blob/master/test/markups/README.asciidoc.html
So if the tests still pass it means the current issue is more related to Website itself, not the markup library.
320e6e0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAIK, the current issue is that the Asciidoctor code needed to be carefully reviewed and audited before it could be used in production at GitHub (as you would expect any organization would do with a library going into production, totally understandable). For some reason, though--perhaps because there were concerns about the original AsciiDoc integration code--we got stuck with no AsciiDoc rendering in the interim.
When it comes back, and it's using Asciidoctor, I'm confident it's going to be please :)