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

Support for HTTP Request/Response #9

Open
aress31 opened this issue Jan 7, 2021 · 2 comments
Open

Support for HTTP Request/Response #9

aress31 opened this issue Jan 7, 2021 · 2 comments

Comments

@aress31
Copy link

aress31 commented Jan 7, 2021

Would like to know whether it could be possible to add support for HTTP Request and Response formatting, so far, it looks like that:

image

As a cyber security professional, in my reports, I very often include HTTP request and response, although, this extension making the snippets look nicer you can see that it is struggling with HTTP - parsing /* as the start of a comment block.

Could it be possible to add an option to specify the type of languages, or code being processed? Maybe in a markdown fashion?

@armhil
Copy link
Owner

armhil commented Jan 7, 2021

I think I was relying on the community a bit too much to add the language-specific styles :) That said, this is a different problem, the keywords etc... would be different, so it requires a bit of investigation. Do you have a sample of what would you rather it look like?

@aress31
Copy link
Author

aress31 commented Jan 7, 2021

More something like that (using GitHub markdown http):

POST /test HTTP/1.1
Host: foo.example
Content-Type: application/x-www-form-urlencoded
Content-Length: 27

field1=value1&field2=value2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants