tokens_rhtml.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. [[
  2. "start",
  3. ["meta.tag.punctuation.begin","<"],
  4. ["meta.tag.name","html"],
  5. ["meta.tag.punctuation.end",">"]
  6. ],[
  7. "start"
  8. ],[
  9. "start",
  10. ["meta.tag.punctuation.begin","<"],
  11. ["meta.tag.name","head"],
  12. ["meta.tag.punctuation.end",">"]
  13. ],[
  14. "start",
  15. ["meta.tag.punctuation.begin","<"],
  16. ["meta.tag.name","title"],
  17. ["meta.tag.punctuation.end",">"],
  18. ["text","Title"],
  19. ["meta.tag.punctuation.begin","</"],
  20. ["meta.tag.name","title"],
  21. ["meta.tag.punctuation.end",">"]
  22. ],[
  23. "start",
  24. ["meta.tag.punctuation.begin","</"],
  25. ["meta.tag.name","head"],
  26. ["meta.tag.punctuation.end",">"]
  27. ],[
  28. "start"
  29. ],[
  30. "start",
  31. ["meta.tag.punctuation.begin","<"],
  32. ["meta.tag.name","body"],
  33. ["meta.tag.punctuation.end",">"]
  34. ],[
  35. "start"
  36. ],[
  37. "start",
  38. ["meta.tag.punctuation.begin","<"],
  39. ["meta.tag.name","p"],
  40. ["meta.tag.punctuation.end",">"],
  41. ["text","This is an R HTML document. When you click the "],
  42. ["meta.tag.punctuation.begin","<"],
  43. ["meta.tag.name","b"],
  44. ["meta.tag.punctuation.end",">"],
  45. ["text","Knit HTML"],
  46. ["meta.tag.punctuation.begin","</"],
  47. ["meta.tag.name","b"],
  48. ["meta.tag.punctuation.end",">"],
  49. ["text"," button a web page will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:"],
  50. ["meta.tag.punctuation.begin","</"],
  51. ["meta.tag.name","p"],
  52. ["meta.tag.punctuation.end",">"]
  53. ],[
  54. "start"
  55. ],[
  56. "r-start",
  57. ["support.function.codebegin","<!--begin.rcode"]
  58. ],[
  59. "r-start",
  60. ["identifier","summary"],
  61. ["paren.keyword.operator","("],
  62. ["identifier","cars"],
  63. ["paren.keyword.operator",")"]
  64. ],[
  65. "start",
  66. ["support.function.codeend","end.rcode-->"]
  67. ],[
  68. "start"
  69. ],[
  70. "start",
  71. ["meta.tag.punctuation.begin","<"],
  72. ["meta.tag.name","p"],
  73. ["meta.tag.punctuation.end",">"],
  74. ["text","You can also embed plots, for example:"],
  75. ["meta.tag.punctuation.begin","</"],
  76. ["meta.tag.name","p"],
  77. ["meta.tag.punctuation.end",">"]
  78. ],[
  79. "start"
  80. ],[
  81. "r-start",
  82. ["support.function.codebegin","<!--begin.rcode fig.width=7, fig.height=6"]
  83. ],[
  84. "r-start",
  85. ["identifier","plot"],
  86. ["paren.keyword.operator","("],
  87. ["identifier","cars"],
  88. ["paren.keyword.operator",")"]
  89. ],[
  90. "start",
  91. ["support.function.codeend","end.rcode-->"]
  92. ],[
  93. "start"
  94. ],[
  95. "start",
  96. ["meta.tag.punctuation.begin","</"],
  97. ["meta.tag.name","body"],
  98. ["meta.tag.punctuation.end",">"]
  99. ],[
  100. "start",
  101. ["meta.tag.punctuation.begin","</"],
  102. ["meta.tag.name","html"],
  103. ["meta.tag.punctuation.end",">"]
  104. ],[
  105. "start"
  106. ]]