Skip to content

Commit

Permalink
Fix FAQ format.
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomelli committed Sep 13, 2016
1 parent a28143c commit b99e26d
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Expand Up @@ -124,16 +124,15 @@ jumpstart was successfully tested on templates of:

--------

FAQ
======
### FAQ

Having troubles?

- Ask on Twitter [@ogiacomelli](http://twitter.com/ogiacomelli).
Ask on Twitter [@ogiacomelli](http://twitter.com/ogiacomelli).


Q. Why the namespace template within some files was not replaced?
A. By default jumpstart use an interal regex, called files-regex to choosed what files must be replaced, the default pattern is:
#### Q. Why the namespace template within some files was not replaced?

A. By default jumpstart use an interal regex, called files-regex to choose what files must be replaced, the default pattern is:

```csharp
@"(\.cs|\.cshtml|\.csproj|\.sln|\.meta|\.asax|\.userprefs|\.config|\.sh|\.cmd|\.xaml)$"
Expand All @@ -144,7 +143,7 @@ If your file is not in this regex, you can use the -fr argument to use your own
For example, you want your .txt files to be replaced too. To this case, you can use the command bellow:

```shell
jumpstart -n My.Amazing.NewProject -fr "(\.cs|\.cshtml|\.csproj|\.sln|\.meta|\.asax|\.userprefs|\.config|\.sh|\.cmd|\.xaml|\.txt)$"
jumpstart -fr "(\.cs|\.cshtml|\.csproj|\.sln|\.meta|\.asax|\.userprefs|\.config|\.sh|\.cmd|\.xaml|\.txt)$" -n My.Amazing.NewProject
```

> If you believe that your file extensions is a very default file extension to C# projects, please fork jumpsharp and add it to the default regex on file JumpStartOptions.cs and make a pull request.
Expand Down

0 comments on commit b99e26d

Please sign in to comment.