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): support front-matter in YAML format #28

Merged
merged 1 commit into from
Sep 20, 2017

Conversation

xcoulon
Copy link
Member

@xcoulon xcoulon commented Sep 20, 2017

Front-matter tokens must be ---.
Front-matter content is parsed using the gopkg.in/yaml.v2
library: no need to recreate the YAML grammar here !

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

Front-matter tokens must be `---`.
Front-matter content is parsed using the `gopkg.in/yaml.v2`
library: no need to recreate the YAML grammar here !

Signed-off-by: Xavier Coulon <[email protected]>
@codecov
Copy link

codecov bot commented Sep 20, 2017

Codecov Report

Merging #28 into master will increase coverage by 0.19%.
The diff coverage is 73.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #28      +/-   ##
==========================================
+ Coverage    65.8%   65.99%   +0.19%     
==========================================
  Files          19       19              
  Lines        2129     2194      +65     
==========================================
+ Hits         1401     1448      +47     
- Misses        621      637      +16     
- Partials      107      109       +2
Impacted Files Coverage Δ
parser/asciidoc_parser.go 57.75% <ø> (+0.82%) ⬆️
types/document_attributes.go 100% <100%> (ø) ⬆️
renderer/html5/document_attribute.go 88.88% <60%> (-11.12%) ⬇️
types/grammar_types.go 67.46% <64.7%> (-0.23%) ⬇️

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 be06999...2f5f021. Read the comment docs.

@xcoulon xcoulon merged commit 0891a44 into bytesparadise:master Sep 20, 2017
xcoulon added a commit to xcoulon/libasciidoc that referenced this pull request Oct 10, 2017
Front-matter tokens must be `---`.
Front-matter content is parsed using the `gopkg.in/yaml.v2`
library: no need to recreate the YAML grammar here !

Signed-off-by: Xavier Coulon <[email protected]>
@xcoulon xcoulon deleted the read_front_matter 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