wrap 512 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #!/bin/sh
  2. echo "<html><head><style>
  3. body {
  4. line-height: 20px;
  5. font-family: monospace;
  6. font-size: 16px;
  7. }
  8. .hl-t {
  9. color: #444;
  10. }
  11. .hl-def {
  12. color: #444;
  13. }
  14. .hl-comment {
  15. color: #999;
  16. }
  17. .hl-call {
  18. color: #111;
  19. }
  20. .hl-func {
  21. color: #8250df;
  22. }
  23. .hl-expr {
  24. color: #cf222e;
  25. }
  26. .hl-type {
  27. color: #0550ae;
  28. }
  29. .hl-quote {
  30. color: #0a3069;
  31. }
  32. .hl-decl {
  33. color: #cf222e;
  34. }
  35. </style>
  36. </head>
  37. <body>
  38. " > /tmp/test.html
  39. ./highlight -t $1 >> /tmp/test.html
  40. echo "
  41. </body>
  42. </html>" >> /tmp/test.html