Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to write algorithms/pseudo-code in HTML?

I'm used to writing algorithms in LaTeX while preparing my slides in Beamer but now I'm using an HTML presentation engine (shower) to prepare my slides. Are there any similar workflow/styles (css, javascript) to write algorithms in HTML?

like image 632
petrichor Avatar asked Apr 14 '13 00:04

petrichor


People also ask

How pseudo code is written?

Pseudo code: It's simply an implementation of an algorithm in the form of annotations and informative text written in plain English. It has no syntax like any of the programming language and thus can't be compiled or interpreted by the computer.

How do you write pseudocode in Javascript?

Pseudo-code is an amalgamation of code and English. There's no correct way to write pseudo-code - you make it up as you go along. So long as it looks a little bit like code, you're doing well.


1 Answers

I believe that there are plenty of them, but you can check pseudocode.js.

Pseudocode.js enables JavaScript to typeset algorithms as beautifullly as LaTeX does.

like image 96
Mateusz Woźniak Avatar answered Sep 24 '22 06:09

Mateusz Woźniak