@@ -833,7 +833,7 @@ def get_script_common_text(this: str, example: Optional[str] = None):
833833 Externally triggered tasks (see :ref:`Old-Style External
834834 Triggers`) wait on external events reported via the
835835 ``cylc ext-trigger`` command. To constrain triggers to a
836- specific cycle point, include ``$ CYLC_TASK_CYCLE_POINT` `
836+ specific cycle point, include :envvar:` CYLC_TASK_CYCLE_POINT`
837837 in the trigger message string and pass the cycle point to the
838838 ``cylc ext-trigger`` command.
839839 ''' )
@@ -1360,7 +1360,8 @@ def get_script_common_text(this: str, example: Optional[str] = None):
13601360
13611361 Job scripts are executed from within *work directories*
13621362 created automatically under the workflow run directory. A task
1363- can get its own work directory from ``$CYLC_TASK_WORK_DIR``
1363+ can get its own work directory from
1364+ :envvar:`CYLC_TASK_WORK_DIR`
13641365 (or ``$PWD`` if it does not ``cd`` elsewhere at
13651366 runtime). The default directory path contains task name and
13661367 cycle point, to provide a unique workspace for every instance
@@ -1397,7 +1398,7 @@ def get_script_common_text(this: str, example: Optional[str] = None):
13971398 Execution retry delays is a list of ISO 8601 durations which
13981399 tell Cylc how long to wait before the next try.
13991400
1400- The job environment variable ``$ CYLC_TASK_TRY_NUMBER` `
1401+ The job environment variable :envvar:` CYLC_TASK_TRY_NUMBER`
14011402 increments with each automatic retry, allowing you to vary task
14021403 behaviour between retries.
14031404
0 commit comments