1
Educational Applications / Re: Suggestions for CFD Notebooks
« on: August 26, 2024, 09:17:45 AM »
1. Use verbatim for Keywords
Implementation: When mentioning specific code, commands, or keywords in the notebook, wrap them in backticks (`) to display them in a monospaced font, making them stand out as code snippets.
Example: Instead of writing print function, use `print`.
2. Create Functions for Repetitive Tasks (e.g., Embedding Videos)
Implementation: If the notebook includes repetitive tasks like embedding videos, create a function that can be reused to keep the code DRY (Don't Repeat Yourself).
Implementation: When mentioning specific code, commands, or keywords in the notebook, wrap them in backticks (`) to display them in a monospaced font, making them stand out as code snippets.
Example: Instead of writing print function, use `print`.
2. Create Functions for Repetitive Tasks (e.g., Embedding Videos)
Implementation: If the notebook includes repetitive tasks like embedding videos, create a function that can be reused to keep the code DRY (Don't Repeat Yourself).