noraj / OSCP-Exam-Report-Template-Markdown

:orange_book: Markdown Templates for Offensive Security OSCP, OSWE, OSCE, OSEE, OSWP exam report
https://noraj.github.io/OSCP-Exam-Report-Template-Markdown/
MIT License
3.56k stars 752 forks source link

Highlight changes in code #55

Closed payload3r closed 4 months ago

payload3r commented 4 months ago

Hello, first and foremost thank you for this project!

I was wondering if there is any way to actually highlight the changes in the code? I understand that it's probably hard to implement because of how the code blocks highlighting works, but the statement in the default template "Modifications to the existing exploit was needed and is highlighted in red" makes me think that maybe it's already implemented and I'm missing something?

payload3r commented 4 months ago

Nevermind, I just found the FAQ xD

noraj commented 4 months ago

For the record: https://github.com/noraj/OSCP-Exam-Report-Template-Markdown/blob/master/FAQ.md#how-to-highlight-changes-made-to-exploit-code

I added an example for diff in Markdown for the occasion.