summaryrefslogtreecommitdiffhomepage
path: root/matlab.html.markdown
diff options
context:
space:
mode:
authorxk liu <lxk1012@gmail.com>2014-10-30 11:07:40 +0800
committerxk liu <lxk1012@gmail.com>2014-10-30 11:07:40 +0800
commit3f69c38ba3594eb93d86d1f4b2456241ffe9b14a (patch)
tree8d584706b74cf0f7c22324436bec3abb82e813a4 /matlab.html.markdown
parent7d0eaa855959c03b52795a7457001bbd69d88464 (diff)
[matlab/en] Fix block comment syntax.
The %{ and %} operators must appear alone on the lines that immediately precede and follow the block of help text. Do not include any other text on these lines. Reference: http://www.mathworks.com/help/matlab/matlab_prog/comments.html
Diffstat (limited to 'matlab.html.markdown')
-rw-r--r--matlab.html.markdown6
1 files changed, 4 insertions, 2 deletions
diff --git a/matlab.html.markdown b/matlab.html.markdown
index 121f16de..2b9077d5 100644
--- a/matlab.html.markdown
+++ b/matlab.html.markdown
@@ -15,10 +15,12 @@ If you have any feedback please feel free to reach me at
```matlab
% Comments start with a percent sign.
-%{ Multi line comments look
+%{
+Multi line comments look
something
like
-this %}
+this
+%}
% commands can span multiple lines, using '...':
a = 1 + 2 + ...