>◲◎▎▛║
In this book, Alessandro Ludovico re-reads the history of the avantgarde arts as a prehistory of cutting through these dichotomies. He shows how contemporary forms of networked publishing – using whichever medium or technology – were in fact prefigured by 20th and 21st century artists and their media experiments.
>█◱☯▒
>◰█▎▨☆
>◳▌▄░○☮
input.txt
var fs = require("fs");
var output = '';
var input = fs.readFileSync('input.txt', 'utf8');
var lines = input.split("\n");
//var state = false;
var depth = 0;
for(var i in lines){
var line = lines[i];
var chars = line.split("");
if(chars[0]===">"){
//parse classnames and count depth
var classnames = "";
var currentdepth = 1;
for(var i=1; i"){
currentdepth++;
} else {
if(chars[i] !== "\r") {
classnames += chars[i]+" ";
}
}
}
//write closing tags
if(currentdepth <= depth){
for(var k=0; k<(depth - currentdepth+1); k++){
output += "\n
In this book, Alessandro Ludovico re-reads the history of the avantgarde arts as a prehistory of cutting through these dichotomies. He shows how contemporary forms of networked publishing – using whichever medium or technology – were in fact prefigured by 20th and 21st century artists and their media experiments.