Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: ollydbg on July 09, 2023, 04:20:25 am

Title: new idea: copy the code snippet in the editor, and add filename and lines tags
Post by: ollydbg on July 09, 2023, 04:20:25 am
This is just an idea, when we post some code snippet, we have to write something like below:

Code
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.
Title: Re: new idea: copy the code snippet in the editor, and add filename and lines tags
Post by: Pecan on July 09, 2023, 05:13:04 pm
I tried posting with markdown in the CB forum.
It doesn't work for me.
Title: Re: new idea: copy the code snippet in the editor, and add filename and lines tags
Post by: ollydbg on July 10, 2023, 04:13:01 am
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.