Skip to content

Commit 285d40d

Browse files
committed
Update executable-tutorials.org
1 parent b0f1578 commit 285d40d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

executable-tutorials.org

+7-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Authors of courses on sites like Udemy or Pluralsight could benefit from first w
2323

2424
Saturn is an MVC web framework for F#.
2525

26-
[[https://github.com/dharmatech/MvcMovieSaturnTutorial/blob/main/MvcMovieSaturnTutorial.md][MvcMovieSaturnTutorial]] is a tutorial for building a simple web app in Saturn. That markdown file is generated from the following [[https://github.com/dharmatech/MvcMovieSaturnTutorial/blob/main/MvcMovieSaturn-unit-tested-tutorial.ps1][source file]] which is written in PowerShell. [[https://github.com/dharmatech/MvcMovieSaturnTutorial/blob/main/convert-to-markdown.ps1][This script]] is used to convert the source file to markdown.
26+
[[https://github.com/dharmatech/MvcMovieSaturnTutorial/blob/main/MvcMovieSaturnTutorial.md][MvcMovieSaturnTutorial]] is a tutorial for building a simple web app in Saturn. That markdown file is generated from [[https://github.com/dharmatech/MvcMovieSaturnTutorial/blob/main/MvcMovieSaturn-unit-tested-tutorial.ps1][this source file]] which is written in PowerShell. [[https://github.com/dharmatech/MvcMovieSaturnTutorial/blob/main/convert-to-markdown.ps1][This script]] is used to convert the source file to markdown.
2727

2828
** English-language change descriptions
2929

@@ -51,6 +51,12 @@ $replacement_text = @"
5151
Edit $file -Replacing $original_text -With $replacement_text
5252
#+end_src
5353

54+
As you can see there, the filename to be edited is stored in the variable =$file=. The text that is to be replaced is stored in =$original_text=. Finally, the new text goes in =$replacement_text=. Then the =Edit= function is called:
55+
56+
#+begin_src PowerShell
57+
Edit $file -Replacing $original_text -With $replacement_text
58+
#+end_src
59+
5460
* Example 2 - ASP.NET Core project
5561

5662
https://github.com/dharmatech/LinkAggregatorTutorial/blob/main/LinkAggregatorTutorial.md

0 commit comments

Comments
 (0)