Skip to content

Commit 2f053d4

Browse files
olioliolimk-mxp
andauthored
Fix date time links (#478)
* Fix date_time and date_time-package-source links. * Fix link to source of date_time package. * Update exercises/practice/gigasecond/.docs/instructions.append.md Co-authored-by: mk-mxp <55182845+mk-mxp@users.noreply.github.com> * Remove date-time package source link Removed link to date-time package source from instructions (as it was only used in admonition). * Change note about online editor to the new markup. --------- Co-authored-by: mk-mxp <55182845+mk-mxp@users.noreply.github.com>
1 parent ea1fd31 commit 2f053d4

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

exercises/practice/gigasecond/.docs/instructions.append.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Working with Dates in Prolog
44

55
Prolog's built-in support for dates is [fairly rudimentary][built-in-dates-support].
6-
While you can solve this exercise with just what's built into Prolog, a much nicer way to work with dates is via the [date_time package][date_time-package].
6+
While you can solve this exercise with just what's built into Prolog, a much nicer way to work with dates is via the [date_time package][date-time-package].
77

88
### Installing the date_time package
99

@@ -19,9 +19,9 @@ If that doesn't work, you can run:
1919
swipl -g 'pack_install(date_time)'
2020
```
2121

22-
```exercism/note
22+
~~~~exercism/note
2323
If you're using the online editor, you don't need to manually install anything.
24-
```
24+
~~~~
2525

2626
### Using the date_time package
2727

@@ -31,10 +31,11 @@ Ad the following code to the top of your solution file to use the `date_time` pa
3131
:- use_module(library(date_time)).
3232
```
3333

34-
```exercism/note
35-
Tip: the [source of the date_time package][https://www.swi-prolog.org/pack/file_details/date_time/prolog/date_time.pl?show=src] is well documented and be a great help!
36-
```
34+
~~~~exercism/note
35+
Tip: the [source of the date_time package][date-time-package-source] is well documented and be a great help!
36+
37+
[date-time-package-source]: https://www.swi-prolog.org/pack/file_details/date_time/prolog/date_time.pl?show=src
38+
~~~~
3739

3840
[built-in-dates-support]: https://www.swi-prolog.org/pldoc/man?section=timedate
39-
[date_time_package]: https://www.swi-prolog.org/pack/list?p=date_time
40-
[date_time-package-source]: https://www.swi-prolog.org/pack/file_details/date_time/prolog/date_time.pl?show=src
41+
[date-time-package]: https://www.swi-prolog.org/pack/list?p=date_time

0 commit comments

Comments
 (0)