const minisrv_service_file = true; const docName = request_headers.query.docName let blockNum = request_headers.query.blockNum const blockClass = request_headers.query.blockClass blockNum = parseInt(blockNum) + 1 headers = `200 OK Connection: Keep-Alive Content-Type: text/html` switch(blockClass) { case "21": data = ` Add text
 
 
 
Remove
 
Help
 
 
Add text to your document
Type a title (optional):
Type your text here:

Text size: Small Medium Large
Text style: Plain Bold Italic

Done
` break; case "23": data = ` Add a picture
 
 
 
Remove
 
Help
 
 
Add a picture to your document
Get a new picture from:
` if (session_data.capabilities.get("client-can-do-av-capture")) { data += `
Video capture` } data += `
Your scrapbook
Art Gallery
` break; case "26": data = ` Add a heading
 
 
 
Remove
 
Help
 
 
Add a heading to your document
Type your heading here:
Text size: Small Medium Large
Add a divider line: Before the heading
After the heading
Done
` break; case "24": data = ` Add a list
 
 
 
Remove
 
Help
 
 
Add a list to your document
Type a title (optional):
Type your list here:
Add a line
Done
` break; case "25": data = ` Add a list of links
 
 
 
Remove
 
Help
 
 
Add a list of links to your document
Type a title (optional):
Type the description and address of your links:
Add a line
Add from Favorites
Done
` break; case "27": data = ` Break pages
 
 
 
Remove
 
Help
 
 
Break one page into two
Done
` break; }