Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(parser/renderer): support for literal blocks #29

Merged
merged 1 commit into from
Sep 26, 2017

Conversation

xcoulon
Copy link
Member

@xcoulon xcoulon commented Sep 24, 2017

support for literal blocks in the form of:

  • a paragraph starting with one or more spaces
  • a paragraph surrounded with the .... delimiter
  • a parapgrah with the [literal] attribute

Signed-off-by: Xavier Coulon [email protected]

@codecov
Copy link

codecov bot commented Sep 24, 2017

Codecov Report

Merging #29 into master will decrease coverage by 1.04%.
The diff coverage is 66.25%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
- Coverage   65.99%   64.95%   -1.05%     
==========================================
  Files          19       20       +1     
  Lines        2194     2317     +123     
==========================================
+ Hits         1448     1505      +57     
- Misses        637      700      +63     
- Partials      109      112       +3
Impacted Files Coverage Δ
parser/asciidoc_parser.go 56.48% <ø> (-1.28%) ⬇️
renderer/html5/renderer.go 86.66% <100%> (+0.25%) ⬆️
types/type_utils.go 71.75% <50%> (ø) ⬆️
renderer/html5/delimited_block.go 66.66% <58.33%> (-11.91%) ⬇️
types/grammar_types.go 66.1% <64%> (-1.36%) ⬇️
renderer/html5/literal_blocks.go 78.57% <78.57%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0891a44...74c02ec. Read the comment docs.

support for literal blocks in the form of:
- [x] a paragraph starting with one or more spaces
- [x] a paragraph surrounded with the `....` delimiter
- [x] a parapgrah with the `[literal]` attribute

Signed-off-by: Xavier Coulon <[email protected]>
@xcoulon xcoulon merged commit 61fe60a into bytesparadise:master Sep 26, 2017
xcoulon added a commit to xcoulon/libasciidoc that referenced this pull request Oct 10, 2017
support for literal blocks in the form of:
- [x] a paragraph starting with one or more spaces
- [x] a paragraph surrounded with the `....` delimiter
- [x] a parapgrah with the `[literal]` attribute

Signed-off-by: Xavier Coulon <[email protected]>
@xcoulon xcoulon deleted the literal_block branch February 25, 2019 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant