Skip to content

Latest commit

 

History

History
75 lines (44 loc) · 1 KB

issue97.rst

File metadata and controls

75 lines (44 loc) · 1 KB

HEADER

Then Cython (with -h option so it is hidden in html/sphinx):

Show/Hide Code
cpdef f(double x):
    return x + 1

This is a normal bash block using the sh environment

if [ 1 -eq 0 ] ; then echo 1; fi

R code

x <- 1:6

Java code

for (int i = 0; i < 5; i++) {
  System.out.println(i);
}

Javascript code

for (var x in [0,1,2]) {console.log(x)}

matlab code

for i = 1:2:10
  disp(A(i))
end

html code

<a href='test'></a>

C code

#include <stdio.h>

int main() {
  int i;

  for (i = 1; i < 11; ++i)
  {
    printf("%d ", i);
  }
  return 0;
}