all_in_one_file.md (304B)
1 # Different languages, all tangled to the same file 2 <!-- :Tangle DIRNAME/FILENAME.out --> 3 This file is a collection of different languages. 4 They should all end up in the same output file. 5 6 Some shell: 7 8 ```sh 9 echo "Hello!" 10 ``` 11 12 Some Ruby: 13 14 ```ruby 15 def a(x) 16 x*2 17 end 18 ``` 19 20 And more ruby: 21 22 ```ruby 23 a(3) 24 ```