Skip to content

Commit 13dc126

Browse files
committed
test chatgtp proposed link pattern
For links between sections of different MyST Markdown files, chatgtp proposes a pattern like ```chapter02.md some text ``` as an anchor and ```chapter03.md As shown [earlier]{chapter02.md#special} ... ``` as use of this anchor. As a test, this pattern is used between file `expressions_and_assignments.md` which to link to file `program_units_and_procedures.md`, section modules. The local build only links to the top of the corresponding index, maybe a build which uses the setup of the fortran-lang.org website however retains the wanted link to the very spot. Signed-off-by: Norwid Behrnd <[email protected]>
1 parent 0be7f11 commit 13dc126

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/learn/f95_features/expressions_and_assignments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ vector3 =(matrix .times. vector1) + vector2
113113

114114
the two expressions are equivalent only if appropriate parentheses are
115115
added as shown. In each case there must be defined, in a
116-
[module](modules),
116+
[module](program_units_and_procedures.md#modules),
117117
procedures defining the operator and assignment, and corresponding
118118
operator-procedure association, as follows:
119119

source/learn/f95_features/program_units_and_procedures.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ The names of program units and external procedures are *global*, and the
7676
names of implied-DO variables have a scope of the statement that
7777
contains them.
7878

79-
(modules)=
80-
## Modules
79+
80+
## Modules {#modules}
8181

8282
Modules are used to package
8383

0 commit comments

Comments
 (0)