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

Added support for Generic log files #2796

Merged
merged 4 commits into from Mar 21, 2021
Merged

Conversation

@RunDevelopment
Copy link
Member

@RunDevelopment RunDevelopment commented Mar 8, 2021

This resolves #2054.


Since "generic log file" is very imprecise, I opted to defeat the issue with test data. I added a few test files that start with an _. These are log files from my machine or other places. The idea is that if all of these logs look good, then the language definition is usable.

@github-actions
Copy link

@github-actions github-actions bot commented Mar 8, 2021

JS File Size Changes (gzipped)

A total of 2 files have changed, with a combined diff of +987 B (+42.9%).

file master pull size diff % diff
components/prism-log.min.js 0 Bytes 980 B +980 B +100.0%
plugins/show-language/prism-show-language.min.js 2.3 KB 2.31 KB +7 B +0.3%

Generated by 🚫 dangerJS against ca0ceb3

@joshgoebel
Copy link

@joshgoebel joshgoebel commented Mar 8, 2021

This is a very interesting idea. :)

@RunDevelopment RunDevelopment merged commit 2bc6475 into PrismJS:master Mar 21, 2021
8 checks passed
@RunDevelopment RunDevelopment deleted the log branch Mar 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

2 participants