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

[Feature request] language guess for code blocks #361

Open
cglacet opened this issue Jun 29, 2020 · 1 comment
Open

[Feature request] language guess for code blocks #361

cglacet opened this issue Jun 29, 2020 · 1 comment
Labels
Feature Feature request

Comments

@cglacet
Copy link

cglacet commented Jun 29, 2020

I've bee looking for a bit but I can't find a way to add language detection to code blocks. Am I missing something or is this feature not implemented yet?

For now it gives something similar to what we have on github:

def f(x):
    return x
def f(x):
    return x

I would like to have something like in stackoverflow:

Screenshot 2020-06-29 at 02 16 02

If this doesn't exist, do you have an idea on what can be done? Thanks.

@nicholasserra
Copy link
Collaborator

Not implemented. Would require some kind of library to detect the language in the code block.

@nicholasserra nicholasserra added the Feature Feature request label Jul 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Feature request
Projects
None yet
Development

No branches or pull requests

2 participants