diff --git a/docs/features_runnables.md b/docs/features_runnables.md index b17ded1c..7ebce756 100644 --- a/docs/features_runnables.md +++ b/docs/features_runnables.md @@ -53,7 +53,7 @@ This must be used if the runnable outputs thousands of lines, to display properl The version identifier **runnable_module** is automatically defined when a runnable is compiled. It can be used to adjust the source according to the execution context, for example: -```D +```d version(runnable_module) { stdout.writeln("to output stream"); diff --git a/docs/options_code_metrics.md b/docs/options_code_metrics.md index 01fe9eeb..c38807de 100644 --- a/docs/options_code_metrics.md +++ b/docs/options_code_metrics.md @@ -17,7 +17,7 @@ Coedit implements the Halstead metric. The others may be added in a further vers The metric uses the count and the sum of the functions operands and operators to compute several indexes. Even it's clearly related to the SLOC it's more accurate. For example: -```D +```d void foo() { int a = 1, b; @@ -27,7 +27,7 @@ void foo() Is seen as less complex than -```D +```d void foo() { int a = 1, b; diff --git a/docs/widgets_todo_list.md b/docs/widgets_todo_list.md index 5b217506..f7defc26 100644 --- a/docs/widgets_todo_list.md +++ b/docs/widgets_todo_list.md @@ -32,7 +32,7 @@ The fields (-a -c -p -s) are optional but the _what_ is mandatory. For example -```D +```d // TODO: something. // TODO-cfixes: something to fix. // TODO-cfixes-aMrFreeze: something that MrFreezae has to fix.