Skip to content

Improve automatic highlight in *highlight.js* a bit #572

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

Merged
merged 1 commit into from
Feb 8, 2015

Conversation

Martii
Copy link
Member

@Martii Martii commented Feb 8, 2015

  • try..catch routine for external failures if ever present e.g. don't block return
  • Normalize to what we might expect if auto-detection returns the incorrect result... not foolproof but better than nothing and very basic
  • Comment it up a bit

* try..catch routine for external failures if ever present e.g. don't block return
* Normalize to what we might expect if auto-detection returns the incorrect result... not foolproof but better than nothing and very basic
* Comment it up a bit
Martii added a commit that referenced this pull request Feb 8, 2015
Improve automatic highlight in *highlight.js* a bit

Auto-merge... going to try the basics rather than restricting it strictly to `js`... `1c` type was also returned on another fragment... can improve later but not dwelling too much on this otherwise it will grow really large. ;)
@Martii Martii merged commit cdb38fd into OpenUserJS:master Feb 8, 2015
@Martii Martii added UI Pertains inclusively to the User Interface. CODE Some other Code related issue and it should clearly describe what it is affecting in a comment. enhancement Something we do have implemented already but needs improvement upon to the best of knowledge. labels Feb 8, 2015
@Martii Martii deleted the improveAutomaticHighlight branch February 8, 2015 04:52
Martii pushed a commit to Martii/OpenUserJS.org that referenced this pull request Jan 11, 2017
* Some Userscripts showing as .qml now... add to the "block" list to narrow down
* Bug fix on `switch` with missing `break`.

Post OpenUserJS#572
Martii added a commit to Martii/OpenUserJS.org that referenced this pull request Jun 21, 2018
* Now the latest is `ebnf`. Inverting logic to force it to more likely candidates.
* Try this for a while and simulate in doc

Post OpenUserJS#572
Martii added a commit that referenced this pull request Jun 21, 2018
* Now the latest is `ebnf`. Inverting logic to force it to more likely candidates.
* Try this for a while and simulate in doc

Post #572

Auto-merge
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CODE Some other Code related issue and it should clearly describe what it is affecting in a comment. enhancement Something we do have implemented already but needs improvement upon to the best of knowledge. UI Pertains inclusively to the User Interface.
Development

Successfully merging this pull request may close these issues.

1 participant