Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: LETARTARE on July 31, 2015, 10:49:36 am

Title: Plugin MarkDown
Post by: LETARTARE on July 31, 2015, 10:49:36 am
Hello,
is there a plugin for editing text (MarkDown Git style)
or any other means with 'Code::Block' ?
Cordially
Title: Re: Plugin MarkDown
Post by: ollydbg on July 31, 2015, 04:29:31 pm
Edit Markdown text?
I don't know, I only know that the new Doxygen support markdown style comments
Title: Re: Plugin MarkDown
Post by: LETARTARE on July 31, 2015, 04:37:55 pm
Thanks you,
I wanted to avoid using a program like 'MarkdownPad2' for Window ...
Title: Re: Plugin MarkDown
Post by: oBFusCATed on July 31, 2015, 09:16:10 pm
There are two things that cb could do for you:
1. provide syntax highlight
2. allow you to run a tool that renders the text in markdown.

I'm not sure if 1 is possible, someone should inspect the scintilla's docs if it has a markdown lexer.
Two is already possible with Tools or Tools+, you just need to find a markdown renderer.

Anything else is outside of the scope of an IDE - a tool for writing code, not formatted text documents!
Title: Re: Plugin MarkDown
Post by: LETARTARE on August 01, 2015, 11:23:08 am
@oBFusCated
thank you,
Yes markdown lexer exists in C::B :
Code
Scilexer.h -> #define SCLEX_MARKDOWN 98
but no 'lexer_markdown.xml'.
I'll look it is easy to get highlighted.
What would be the closest language ?
Title: Re: Plugin MarkDown
Post by: oBFusCATed on August 01, 2015, 01:24:50 pm
Have you read this: http://wiki.codeblocks.org/index.php?title=Creating_a_custom_lexer_for_Code::Blocks_editor ?
Title: Re: Plugin MarkDown
Post by: LETARTARE on August 01, 2015, 01:33:48 pm
yes, of course.