Преглед на файлове

Update custom_linkouts.rst

Bradford Condon преди 6 години
родител
ревизия
00fc20e0e6
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      docs/dev_guide/custom_linkouts.rst

+ 2 - 2
docs/dev_guide/custom_linkouts.rst

@@ -7,7 +7,7 @@ To create custom link-outs for Tripal BLAST you need to first create your own Dr
 
 Once you have a custom module you need to implement hook_blast_linkout_info() to tell Tripal BLAST about your custom link-out. You do this by creating a function with the name of your module replacing the word "hook". For example:
 
-.. code:: php
+.. code-block:: php
 
   /**
    * Implements hook_blast_linkout_info().
@@ -41,7 +41,7 @@ Once you have a custom module you need to implement hook_blast_linkout_info() to
 
 Next you need to implement the process function that you indicated. This function is given a number of variables providing information about the hit, etc. and is expected to generate a fully rendered link based on that information. For example,
 
-.. code:: php
+.. code-block:: php
 
   /**
    * Generate a link to the UofS Genome Browser for a given hit.