Advertisement
Guest User

Untitled

a guest
May 28th, 2023
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. HOW IT SHOULD LOOK:
  2.  
  3.  
  4. # YAML Example
  5. ---
  6. name: John Doe
  7. age: 30
  8. occupation: Software Engineer
  9. hobbies:
  10. - Reading
  11. - Coding
  12. - Hiking
  13. address:
  14. street: 123 Main St
  15. city: Anytown
  16. state: Anystate
  17. country: Anycountry
  18. education:
  19. - degree: Bachelor of Science
  20. field: Computer Science
  21. university: XYZ University
  22. year: 2015
  23. - degree: Master of Engineering
  24. field: Software Engineering
  25. university: ABC University
  26. year: 2017
  27.  
  28.  
  29.  
  30. ------------------------
  31.  
  32.  
  33. SOMETHING HAPPENED TO IT, WHILE PASTING:
  34.  
  35. name: John Doe
  36. age: 30
  37. occupation: Software Engineer
  38. hobbies:
  39. - Reading
  40. - Coding
  41. - Hiking
  42. address:
  43. street: 123 Main St
  44. city: Anytown
  45. state: Anystate
  46. country: Anycountry
  47. education:
  48. - degree: Bachelor of Science
  49. field: Computer Science
  50. university: XYZ University
  51. year: 2015
  52. - degree: Master of Engineering
  53. field: Software Engineering
  54. university: ABC University
  55. year: 2017
  56.  
  57.  
  58.  
  59. ------------------------
  60.  
  61. AND WHEN I DO gg=G on that file I get:
  62.  
  63.  
  64. name: John Doe
  65. age: 30
  66. occupation: Software Engineer
  67. hobbies:
  68. - Reading
  69. - Coding
  70. - Hiking
  71. address:
  72. street: 123 Main St
  73. city: Anytown
  74. state: Anystate
  75. country: Anycountry
  76. education:
  77. - degree: Bachelor of Science
  78. field: Computer Science
  79. university: XYZ University
  80. year: 2015
  81. - degree: Master of Engineering
  82. field: Software Engineering
  83. university: ABC University
  84. year: 2017
  85.  
  86.  
  87.  
  88. ------
  89.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement