sample.mdx.txt 992 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. ---
  2. frontmatter: data
  3. yaml: true
  4. ---
  5. [link](https://example.com)
  6. ~~~
  7. aasd
  8. asd
  9. asd
  10. ~~~
  11. # Hello MDX {1+2}
  12. import { MyComponent } from './MyComponent'
  13. This is **bold {'foo' + 1} text**
  14. This is _emphasis {'foo' + 1} text_
  15. This is *emphasis {'foo' + 1} text too*
  16. This is an indented *code* block
  17. export function foo() {
  18. console.log('asd', 1)
  19. if(true) {
  20. return 'yep'
  21. }
  22. return 'nope'
  23. }
  24. This is regular content
  25. - this is a list
  26. * this is also a list
  27. + me too!
  28. 1. pizza
  29. 2. fries
  30. 3. ice cream
  31. ----
  32. _________
  33. ***\
  34. ~~~css
  35. body {
  36. color: red;
  37. }
  38. ~~~
  39. > - this is a list
  40. >
  41. > * this is also a list
  42. >
  43. > + me too!
  44. >
  45. > 1. pizza
  46. > 2. fries
  47. > 3. ice cream
  48. >
  49. > ---
  50. >
  51. > _________
  52. >
  53. > ***
  54. >
  55. > ```css
  56. > body {
  57. > color: red;
  58. > }
  59. > ```
  60. > This is a blockquote
  61. >
  62. >> This is a nested {'blockquote'}
  63. {'foo' + 1 + 2 + {} + 12}
  64. {/* this is a comment */}
  65. <MyComponent contenteditable className="text-green-700" id='foo' width={100 + 100}>
  66. This is **also** markdown.
  67. </MyComponent>