News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

new idea: copy the code snippet in the editor, and add filename and lines tags

Started by ollydbg, July 09, 2023, 04:20:25 AM

Previous topic - Next topic

ollydbg

This is just an idea, when we post some code snippet, we have to write something like below:


filename: xxx/xxx/xxx.cpp, from line xxx to line xxx:

[begin tag]
code
code
code
[end tag]



I think the begin tag and end tag should at least support the BBcode and Markdown syntax. I'm not sure currently there is any plugin implement this. What do you think?

Thanks.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Pecan

I tried posting with markdown in the CB forum.
It doesn't work for me.

ollydbg

Quote from: Pecan on July 09, 2023, 05:13:04 PM
I tried posting with markdown in the CB forum.
It doesn't work for me.

Sure, our forum only support BBcode. But other site such as Stackoverflow or github support markdown.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.