StackOv icon indicating copy to clipboard operation
StackOv copied to clipboard

Feature/41 add highlightr for the markdown.code block view

Open Stampoo opened this issue 4 years ago • 0 comments

Description

  • Add Highlightr dependence for highlight code depends on syntax
  • Add CodeView with implement Highlightr

How has this been tested?

Build and run app, move to detail question, code highlight with depends on syntax (see tag on question) and rule at this JS library https://highlightjs.org/static/demo/

Checklist

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [x] New and existing unit tests pass locally with my changes

What to look for?

  • Library does not have automatic detect language

Closes #41

Stampoo avatar Mar 26 '21 11:03 Stampoo