Author: suitongbowgn
Description:
Feature request:
A feature that supports insertion and simple editing of source code snippets in a general article. It may include a simple grammar checking mechanism which checks some fundamental grammatical errors such as having a { without closing it, having a () with a trailing period and nothing else, having solely a pair of brackets, etc.; an indentation correction tool which will perform indentation formatting on the codes; a beautify code tool which will reorganize code formatting, including indentation to make the code more reader-friendly in format.
Features:
- Insert or edit a code block.
- Basic IDE features (perhaps re-use WikiEditor/CodeEditor)
- Syntax validation (matching quotes/parenthesis/braces etc.)
- Follow indentation level when breaking lines.
- Live grammar highlighting.