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

Add syntax highlighting for doc target #311

Merged
merged 1 commit into from
Aug 16, 2018
Merged

Conversation

qria
Copy link
Contributor

@qria qria commented Aug 16, 2018

image

@qria qria changed the title highlight Add syntax highlighting Aug 16, 2018
@qria qria changed the title Add syntax highlighting Add syntax highlighting for doc target Aug 16, 2018
Copy link
Member

@dahlia dahlia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a changelog about this?

]
hljsJs :: T.Text
hljsJs = T.concat
[ "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As hljsJs and hljsCss share the common prefix, how about extract out the common prefix? It would be also helpful when we need to upgrade the version of the highlight.js library.

@codecov
Copy link

codecov bot commented Aug 16, 2018

Codecov Report

Merging #311 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #311      +/-   ##
==========================================
+ Coverage   76.19%   76.22%   +0.02%     
==========================================
  Files          34       34              
  Lines        2899     2902       +3     
  Branches      194      194              
==========================================
+ Hits         2209     2212       +3     
  Misses        496      496              
  Partials      194      194
Impacted Files Coverage Δ
src/Nirum/Targets/Docs.hs 48.14% <100%> (+0.83%) ⬆️

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 9edb20d...72e894b. Read the comment docs.

@dahlia dahlia added typ:enhance Type: Enhancement/new feature target:docs labels Aug 16, 2018
@dahlia dahlia merged commit 93488a2 into nirum-lang:master Aug 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
target:docs typ:enhance Type: Enhancement/new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants