Skip Navigation

Documenting Code with Prism

Prism is a fast, easy to use syntax highlighter that lets you add code samples to your websites. In this series, “Documenting Code with Prism”, CodeTime instructor Pete Medina walks you through installing PrismJS and creating a mock-documentation page for a custom Bootstrap 4 Instagram-like media card. This series assumes a basic understanding of HTML and CSS. Knowledge of the Bootstrap 4 framework and SublimeText 3 would also be helpful, but it’s not strictly required.




Peter Medina

Learning Outcome:

  • Using Prism, a syntax highlighter
  • Documenting your code by showing examples