Skip to content

Commit e13fbff

Browse files
committed
Use console code-block in README.rst
GitHub will at least use syntax highlighting, some renderers will do fancy things like copy without the prompt.
1 parent 855e5db commit e13fbff

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ template-package
33

44
An extension for `colcon-core <https://github.com/colcon/colcon-core>`_ to act as a template for new extensions.
55

6-
When using this template, be sure to replace all instances of the word "template" in the repository::
6+
When using this template, be sure to replace all instances of the word "template" in the repository:
7+
8+
.. code-block:: console
79
810
$ find * -type f | xargs sed -i 's/template-package/colcon-package-name/g'
911
$ find * -type f | xargs sed -i 's/template_package/colcon_package_name/g'

0 commit comments

Comments
 (0)