├── rstc ├── rstc.exe ├── CommonMark.dll ├── CommandLine.dll ├── Microsoft.Experimental.Collections.dll └── rstc.exe.config ├── images ├── demo.gif └── bootstrap3-logo.png ├── .nuke ├── parameters.json └── build.schema.json ├── .github └── dependabot.yml ├── src ├── Resharper.Bootstrap3.Templates │ ├── Resharper.Bootstrap3.Templates.csproj │ ├── ZoneMarker.cs │ ├── app.config │ └── CodeCompetition │ │ └── Bootstrap3CompletionStrategy.cs ├── Resharper.Bootstrap4.Templates │ ├── Resharper.Bootstrap4.Templates.csproj │ ├── ZoneMarker.cs │ ├── app.config │ └── CodeCompetition │ │ └── Bootstrap4CompletionStrategy.cs └── Resharper.BootstrapTemplates.sln ├── templates ├── bs3 │ ├── bs3-clearfix.md │ ├── bs3-badge.md │ ├── bs3-pager.md │ ├── bs3-well.md │ ├── bs3-input-reset.md │ ├── bs3-input-submit.md │ ├── bs3-toolbar.md │ ├── bs3-navbar-brand.md │ ├── bs3-pager-aligned.md │ ├── bs3-input-label.md │ ├── bs3-list-group.md │ ├── bs3-alert.md │ ├── bs3-label.md │ ├── bs3-input-checkbox.md │ ├── bs3-page-header.md │ ├── bs3-textarea.md │ ├── bs3-input-reset-h.md │ ├── bs3-input-submit-h.md │ ├── bs3-list-group-linked.md │ ├── bs3-button.md │ ├── bs3-block-link-button.md │ ├── bs3-input-select.md │ ├── bs3-navbar-link.md │ ├── bs3-block-button.md │ ├── bs3-panel-footer.md │ ├── bs3-link-button.md │ ├── bs3-link-group.md │ ├── bs3-alert-dismissible.md │ ├── bs3-navbar-form.md │ ├── bs3-input-select-h.md │ ├── bs3-pagination.md │ ├── bs3-panel.md │ ├── bs3-input.md │ ├── bs3-jumbotron.md │ ├── bs3-input-radio.md │ ├── bs3-table.md │ ├── bs3-breadcrumbs.md │ ├── bs3-media.md │ ├── bs3-form-inline.md │ ├── bs3-table-responsive.md │ ├── bs3-input-h.md │ ├── bs3-form.md │ ├── bs3-navbar-basic.md │ ├── bs3-form-horizontal.md │ ├── bs3-navbar-fixed.md │ ├── bs3-tabs.md │ ├── bs3-modal.md │ ├── bs3-navbar.md │ ├── README.md │ └── bs3-carousel.md └── bs4 │ ├── bs4-clearfix.md │ ├── bs4-input-reset.md │ ├── bs4-input-submit.md │ ├── bs4-input-label.md │ ├── bs4-label.md │ ├── bs4-alert.md │ ├── bs4-list-group.md │ ├── bs4-textarea.md │ ├── bs4-tag.md │ ├── bs4-input-select.md │ ├── bs4-input-checkbox.md │ ├── bs4-button.md │ ├── bs4-input-select-form.md │ ├── bs4-alert-dismissible.md │ ├── bs4-input.md │ ├── bs4-jumbotron-fluid.md │ ├── bs4-button-group.md │ ├── bs4-card.md │ ├── bs4-input-radio.md │ ├── bs4-jumbotron.md │ ├── bs4-breadcrumbs.md │ ├── bs4-form-inline.md │ ├── bs4-form.md │ ├── bs4-table.md │ ├── bs4-input-form.md │ ├── bs4-table-responsive.md │ ├── bs4-navbar.md │ ├── bs4-pagination.md │ ├── bs4-navs.md │ ├── bs4-figure.md │ ├── bs4-modal.md │ ├── README.md │ ├── bs4-accordion.md │ └── bs4-carousel.md ├── .editorconfig ├── appveyor.yml ├── Directory.Build.props ├── README.md ├── LICENSE └── .gitignore /rstc/rstc.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olsh/resharper-bootstrap-templates/HEAD/rstc/rstc.exe -------------------------------------------------------------------------------- /images/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olsh/resharper-bootstrap-templates/HEAD/images/demo.gif -------------------------------------------------------------------------------- /rstc/CommonMark.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olsh/resharper-bootstrap-templates/HEAD/rstc/CommonMark.dll -------------------------------------------------------------------------------- /rstc/CommandLine.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olsh/resharper-bootstrap-templates/HEAD/rstc/CommandLine.dll -------------------------------------------------------------------------------- /images/bootstrap3-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olsh/resharper-bootstrap-templates/HEAD/images/bootstrap3-logo.png -------------------------------------------------------------------------------- /.nuke/parameters.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "./build.schema.json", 3 | "Solution": "src/Resharper.BootstrapTemplates.sln" 4 | } -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: "nuget" 4 | directory: "/" 5 | schedule: 6 | interval: "daily" 7 | -------------------------------------------------------------------------------- /rstc/Microsoft.Experimental.Collections.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/olsh/resharper-bootstrap-templates/HEAD/rstc/Microsoft.Experimental.Collections.dll -------------------------------------------------------------------------------- /rstc/rstc.exe.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/Resharper.Bootstrap3.Templates/Resharper.Bootstrap3.Templates.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/Resharper.Bootstrap4.Templates/Resharper.Bootstrap4.Templates.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/Resharper.Bootstrap3.Templates/ZoneMarker.cs: -------------------------------------------------------------------------------- 1 | using JetBrains.Application.BuildScript.Application.Zones; 2 | 3 | namespace Resharper.Bootstrap3.Templates 4 | { 5 | [ZoneMarker] 6 | public class ZoneMarker 7 | { 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/Resharper.Bootstrap4.Templates/ZoneMarker.cs: -------------------------------------------------------------------------------- 1 | using JetBrains.Application.BuildScript.Application.Zones; 2 | 3 | namespace Resharper.Bootstrap4.Templates 4 | { 5 | [ZoneMarker] 6 | public class ZoneMarker 7 | { 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /templates/bs3/bs3-clearfix.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: ef8d4462-957c-4f17-80f4-aa6222c32952 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | --- 9 | 10 | # bs3-clearfix 11 | 12 | Clearfix 13 | 14 | ``` 15 |
16 |
17 | ``` 18 | -------------------------------------------------------------------------------- /templates/bs4/bs4-clearfix.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 45ff6a3a-fe9a-4efb-99f7-c2229ebf5e91 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | --- 9 | 10 | # bs4-clearfix 11 | 12 | Clearfix 13 | 14 | ``` 15 |
16 |
17 | ``` 18 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_size = 4 6 | indent_style = space 7 | insert_final_newline = true 8 | trim_trailing_whitespace = true 9 | dotnet_separate_import_directive_groups = true 10 | dotnet_sort_system_directives_first = true 11 | 12 | [{*.csproj,*.json,*.yml,*.xml,*.props}] 13 | indent_size = 2 14 | -------------------------------------------------------------------------------- /templates/bs3/bs3-badge.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 59bc1e5b-f015-41d9-a550-52124c1e22ea 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: text 9 | text-expression: constant("Badge") 10 | --- 11 | 12 | # bs3-badge 13 | 14 | Badge 15 | 16 | ``` 17 | $text$ 18 | ``` 19 | -------------------------------------------------------------------------------- /templates/bs3/bs3-pager.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 170eaf5a-b962-4d1e-bd08-020b28e8fdd7 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | --- 9 | 10 | # bs3-pager 11 | 12 | Pager 13 | 14 | ``` 15 | 19 | ``` 20 | -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- 1 | image: Visual Studio 2022 2 | 3 | skip_branch_with_pr: true 4 | skip_tags: true 5 | 6 | test: off 7 | 8 | build_script: 9 | - cmd: >- 10 | 11 | build.cmd --target UpdateBuildVersion 12 | 13 | build.cmd --target UploadArtifact --bootstrapVersion 3 --configuration Release 14 | 15 | build.cmd --target UploadArtifact --bootstrapVersion 4 --configuration Release 16 | -------------------------------------------------------------------------------- /templates/bs3/bs3-well.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 862fc9df-1724-4b12-8206-b20e82863162 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: size 9 | size-expression: list("well-lg,well-sm,") 10 | --- 11 | 12 | # bs3-well 13 | 14 | Well 15 | 16 | ``` 17 |
18 | $END$ 19 |
20 | ``` 21 | -------------------------------------------------------------------------------- /templates/bs3/bs3-input-reset.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 6632b8bc-3f7c-4668-8d4f-51bbca944196 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: value 9 | value-expression: constant("Reset") 10 | --- 11 | 12 | # bs3-input-reset 13 | 14 | Reset button 15 | 16 | ``` 17 | 18 | ``` 19 | -------------------------------------------------------------------------------- /templates/bs4/bs4-input-reset.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 1e1307b5-e201-4a26-89c5-eebbfdc9a1d3 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: value 9 | value-expression: constant("Reset") 10 | --- 11 | 12 | # bs4-input-reset 13 | 14 | Reset button 15 | 16 | ``` 17 | 18 | ``` 19 | -------------------------------------------------------------------------------- /templates/bs3/bs3-input-submit.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 35f73080-8394-4aeb-aae2-d871676c7712 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: text 9 | text-expression: constant("Submit") 10 | --- 11 | 12 | # bs3-input-submit 13 | 14 | Submit button 15 | 16 | ``` 17 | 18 | ``` 19 | -------------------------------------------------------------------------------- /templates/bs4/bs4-input-submit.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: b11c6876-b343-4e7a-806d-492630e60900 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: text 9 | text-expression: constant("Submit") 10 | --- 11 | 12 | # bs4-input-submit 13 | 14 | Submit button 15 | 16 | ``` 17 | 18 | ``` 19 | -------------------------------------------------------------------------------- /templates/bs3/bs3-toolbar.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 1519e7c7-6ef1-41bf-bd82-59afe989614b 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | --- 9 | 10 | # bs3-toolbar 11 | 12 | Toolbar 13 | 14 | ``` 15 |
16 |
17 |
18 |
19 |
20 | ``` 21 | -------------------------------------------------------------------------------- /templates/bs3/bs3-navbar-brand.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 637bd47b-fecb-4e3c-8986-8bb50b937548 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: href, title 9 | href-expression: constant("/") 10 | title-expression: constant("Title") 11 | --- 12 | 13 | # bs3-navbar-brand 14 | 15 | Brand link 16 | 17 | ``` 18 | $title$ 19 | ``` 20 | -------------------------------------------------------------------------------- /templates/bs3/bs3-pager-aligned.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 8ed6a72c-1a0f-40cf-a470-f250245e3989 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | --- 9 | 10 | # bs3-pager-aligned 11 | 12 | Pager aligned 13 | 14 | ``` 15 | 19 | ``` 20 | -------------------------------------------------------------------------------- /templates/bs3/bs3-input-label.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: d5807b43-469b-45c6-8c52-fe664a04b3d1 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: id, class, text 9 | id-expression: constant("id") 10 | class-expression: constant("col-sm-2") 11 | --- 12 | 13 | # bs3-input-label 14 | 15 | Input label 16 | 17 | ``` 18 | 19 | ``` 20 | -------------------------------------------------------------------------------- /templates/bs3/bs3-list-group.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 5e9b4cf8-3a41-443a-9ee1-c5117d4d6782 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | --- 9 | 10 | # bs3-list-group 11 | 12 | List group 13 | 14 | ``` 15 | 20 | ``` 21 | -------------------------------------------------------------------------------- /templates/bs4/bs4-input-label.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: a817a49c-f9ee-4b1d-9dca-860101a03f40 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: id, class, text 9 | id-expression: constant("id") 10 | class-expression: constant("col-sm-2") 11 | --- 12 | 13 | # bs4-input-label 14 | 15 | Input label 16 | 17 | ``` 18 | 19 | ``` 20 | -------------------------------------------------------------------------------- /templates/bs3/bs3-alert.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 6adc6f59-d865-4aca-8c9f-b9973ff57ae6 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: class, title, body 9 | class-expression: list("alert-info,alert-success,alert-warning,alert-danger,") 10 | --- 11 | 12 | # bs3-alert 13 | 14 | Alert 15 | 16 | ``` 17 |
18 | $title$ $body$ 19 |
20 | ``` 21 | -------------------------------------------------------------------------------- /templates/bs3/bs3-label.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 9cdd6475-2c72-4268-92e9-1990a8422841 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: class, text 9 | class-expression: list("label-danger,label-default,label-info,label-success,label-warning,") 10 | text-expression: constant("text") 11 | --- 12 | 13 | # bs3-label 14 | 15 | Label 16 | 17 | ``` 18 | $text$ 19 | ``` 20 | -------------------------------------------------------------------------------- /templates/bs4/bs4-label.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 559333ff-3e83-4b32-a164-268a91a69689 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: class, text 9 | class-expression: list("label-danger,label-default,label-info,label-success,label-warning,") 10 | text-expression: constant("text") 11 | --- 12 | 13 | # bs4-label 14 | 15 | Label 16 | 17 | ``` 18 | $text$ 19 | ``` 20 | -------------------------------------------------------------------------------- /templates/bs4/bs4-alert.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 4166f284-ad00-47c3-ac89-36b47303193b 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: class, title, body 9 | class-expression: list("alert-info,alert-success,alert-warning,alert-danger") 10 | --- 11 | 12 | # bs4-alert 13 | 14 | Alert 15 | 16 | ``` 17 | 20 | ``` 21 | -------------------------------------------------------------------------------- /src/Resharper.Bootstrap3.Templates/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/Resharper.Bootstrap4.Templates/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /templates/bs3/bs3-input-checkbox.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: e75e69fc-341f-4d0a-ae21-3bf903c61c7e 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: text 9 | text-expression: constant("Checkbox") 10 | --- 11 | 12 | # bs3-input-checkbox 13 | 14 | Checkbox 15 | 16 | ``` 17 |
18 | 22 |
23 | ``` 24 | -------------------------------------------------------------------------------- /templates/bs3/bs3-page-header.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 800e82d1-7df9-4c81-ac7a-c7c1b140d931 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: title, subtext 9 | title-expression: constant("header") 10 | subtext-expression: constant("subtext") 11 | --- 12 | 13 | # bs3-page-header 14 | 15 | Page header 16 | 17 | ``` 18 | 21 | ``` 22 | -------------------------------------------------------------------------------- /templates/bs4/bs4-list-group.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: f164bad8-191d-4934-88f2-67861ea87b02 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | --- 9 | 10 | # bs4-list-group 11 | 12 | List group 13 | 14 | ``` 15 |
16 | Item 1 17 | Item 2 18 | Item 3 19 |
20 | ``` 21 | -------------------------------------------------------------------------------- /templates/bs3/bs3-textarea.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: df3f78ec-92ae-4213-a7d3-0d563d85ac11 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: name, id, row, required 9 | row-expression: constant("3") 10 | required-expression: constant("required") 11 | --- 12 | 13 | # bs3-textarea 14 | 15 | Textarea 16 | 17 | ``` 18 | 19 | ``` 20 | -------------------------------------------------------------------------------- /templates/bs4/bs4-textarea.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 9416294c-c958-4386-ab43-69231927c700 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: name, id, row, required 9 | row-expression: constant("3") 10 | required-expression: constant("required") 11 | --- 12 | 13 | # bs4-textarea 14 | 15 | Textarea 16 | 17 | ``` 18 | 19 | ``` 20 | -------------------------------------------------------------------------------- /templates/bs3/bs3-input-reset-h.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 3a660ff4-28e1-4f90-bddf-694baa25480c 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: value 9 | --- 10 | 11 | # bs3-input-reset-h 12 | 13 | Reset button horizontal form 14 | 15 | ``` 16 |
17 |
18 | 19 |
20 |
21 | ``` 22 | -------------------------------------------------------------------------------- /templates/bs3/bs3-input-submit-h.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: ec016592-fadf-453c-b91d-b9bf483761c3 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: text 9 | --- 10 | 11 | # bs3-input-submit-h 12 | 13 | Submit button horizontal form 14 | 15 | ``` 16 |
17 |
18 | 19 |
20 |
21 | ``` 22 | -------------------------------------------------------------------------------- /templates/bs4/bs4-tag.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 8b537f1b-ea1a-49f0-9228-9aa69e4b1d2f 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: class, pill, text 9 | class-expression: list("default,primary,success,info,warning,danger") 10 | pill-expression: list(",tag-pill") 11 | text-expression: constant("Badge") 12 | --- 13 | 14 | # bs4-tag 15 | 16 | Tag 17 | 18 | ``` 19 | $text$ 20 | ``` 21 | -------------------------------------------------------------------------------- /templates/bs3/bs3-list-group-linked.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 5b74dacc-79e8-49b9-a7a7-8c42ac2e89f0 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | --- 9 | 10 | # bs3-list-group-linked 11 | 12 | List group linked 13 | 14 | ``` 15 |
16 | Item 1 17 | Item 2 18 | Item 3 19 |
20 | ``` 21 | -------------------------------------------------------------------------------- /templates/bs3/bs3-button.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 9fdb319a-7f6e-4853-8b05-6fb8fc1cde0a 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: size, class, text 9 | size-expression: list("lg,sm,xs") 10 | class-expression: list("default,primary,success,warning,danger") 11 | text-expression: constant("button") 12 | --- 13 | 14 | # bs3-button 15 | 16 | Button 17 | 18 | ``` 19 | 20 | ``` 21 | -------------------------------------------------------------------------------- /templates/bs3/bs3-block-link-button.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: ec3c7924-0cf3-42ee-9813-b4483c9bbb63 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: size, text, class, href 9 | size-expression: list("lg,sm,xs") 10 | class-expression: list("default,primary,success,warning,danger") 11 | --- 12 | 13 | # bs3-block-link-button 14 | 15 | Block link button 16 | 17 | ``` 18 | $text$ 19 | ``` 20 | -------------------------------------------------------------------------------- /templates/bs3/bs3-input-select.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: cb015d5e-b6ac-4c50-817c-74c4b6506733 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: name, id, text 9 | name-expression: constant("name") 10 | id-expression: constant("id") 11 | text-expression: constant("-- Select One --") 12 | --- 13 | 14 | # bs3-input-select 15 | 16 | Select 17 | 18 | ``` 19 | 22 | ``` 23 | -------------------------------------------------------------------------------- /templates/bs3/bs3-navbar-link.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: a2d48d6a-9e89-4b45-9137-bf45618d5e44 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: position, href, link 9 | position-expression: list("right,left") 10 | href-expression: constant("#") 11 | link-expression: constant("Link") 12 | --- 13 | 14 | # bs3-navbar-link 15 | 16 | Navbar link 17 | 18 | ``` 19 | 22 | ``` 23 | -------------------------------------------------------------------------------- /templates/bs4/bs4-input-select.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: a08664c4-9355-4036-9406-1d94d4cef174 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: name, id, text 9 | name-expression: constant("name") 10 | id-expression: constant("id") 11 | text-expression: constant("-- Select One --") 12 | --- 13 | 14 | # bs4-input-select 15 | 16 | Select 17 | 18 | ``` 19 | 22 | ``` 23 | -------------------------------------------------------------------------------- /templates/bs3/bs3-block-button.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 125d14a8-4337-4fd6-9b28-aa778fd829d9 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: size, class, text 9 | size-expression: list("lg,sm,xs") 10 | class-expression: list("default,primary,success,warning,danger") 11 | text-expression: constant("button") 12 | --- 13 | 14 | # bs3-block-button 15 | 16 | Block button 17 | 18 | ``` 19 | 20 | ``` 21 | -------------------------------------------------------------------------------- /templates/bs3/bs3-panel-footer.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: a3ba8580-7847-4fe3-b8de-ec170a7fb3bc 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: type, text, footerText 9 | type-expression: list("danger,info,primary,success,warning,default") 10 | --- 11 | 12 | # bs3-panel-footer 13 | 14 | Panel with footer 15 | 16 | ``` 17 |
18 |
19 | $text$ 20 |
21 | 22 |
23 | ``` 24 | -------------------------------------------------------------------------------- /templates/bs3/bs3-link-button.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 0bf57dcb-e6d2-4ef8-8070-c087c9b81e37 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: size, class, href, text 9 | size-expression: list("lg,sm,xs") 10 | class-expression: list("danger,default,info,primary,success,warning") 11 | href-expression: constant("#") 12 | text-expression: constant("text") 13 | --- 14 | 15 | # bs3-link-button 16 | 17 | Link button 18 | 19 | ``` 20 | $text$ 21 | ``` 22 | -------------------------------------------------------------------------------- /templates/bs4/bs4-input-checkbox.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 8a78bb6f-79b4-426e-b516-a57740658b97 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: text 9 | text-expression: constant("Checkbox") 10 | --- 11 | 12 | # bs4-input-checkbox 13 | 14 | Checkbox 15 | 16 | ``` 17 | 22 | ``` 23 | -------------------------------------------------------------------------------- /Directory.Build.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | net472 6 | false 7 | 8 | 9 | 10 | 11 | $(MSBuildWarningsAsMessages);MSB3277;MSB3270 12 | 13 | 14 | -------------------------------------------------------------------------------- /templates/bs3/bs3-link-group.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 1e09ed05-70c8-4106-8a49-ce08e89ea33f 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: class 9 | class-expression: list("btn-group-vertical,btn-group") 10 | --- 11 | 12 | # bs3-link-group 13 | 14 | Link button group 15 | 16 | ``` 17 |
18 | Top 19 | Middle 20 | Bottom 21 |
22 | ``` 23 | -------------------------------------------------------------------------------- /templates/bs3/bs3-alert-dismissible.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 1dd63e29-f13d-42fe-b958-5ae99f3f3e59 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: class, title, body 9 | class-expression: list("alert-info,alert-success,alert-warning,alert-danger,") 10 | --- 11 | 12 | # bs3-alert-dismissible 13 | 14 | Dismissible alert 15 | 16 | ``` 17 |
18 | 19 | $title$ $body$ 20 |
21 | ``` 22 | -------------------------------------------------------------------------------- /templates/bs3/bs3-navbar-form.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: ef6f0d44-2706-427d-b2e4-c4eeb24ec3f6 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: position, type, submit 9 | position-expression: list("right,left") 10 | type-expression: list("default,primary,success,warning,danger") 11 | submit-expression: constant("Submit") 12 | --- 13 | 14 | # bs3-navbar-form 15 | 16 | Navbar form 17 | 18 | ``` 19 | 23 | ``` 24 | -------------------------------------------------------------------------------- /templates/bs4/bs4-button.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 4b6c5b4a-e49a-4efe-b602-adc08e23b229 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: size, outline, class, block, text 9 | size-expression: list("lg,sm,xs") 10 | class-expression: list("primary,secondary,success,info,warning,danger,link") 11 | block-expression: list(",btn-block") 12 | outline-expression: list(",-outline") 13 | text-expression: constant("button") 14 | --- 15 | 16 | # bs4-button 17 | 18 | Button 19 | 20 | ``` 21 | 22 | ``` 23 | -------------------------------------------------------------------------------- /templates/bs3/bs3-input-select-h.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 464ef0bb-18c0-4c61-af15-64317dac83d1 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: id, label, text 9 | id-expression: constant("id") 10 | --- 11 | 12 | # bs3-input-select-h 13 | 14 | Select horizontal form 15 | 16 | ``` 17 |
18 | 19 |
20 | 23 |
24 |
25 | ``` 26 | -------------------------------------------------------------------------------- /templates/bs3/bs3-pagination.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 59ccebc7-af7e-4f81-b781-845a5bda1aa4 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: size 9 | size-expression: list("pagination-sm,pagination-lg,") 10 | --- 11 | 12 | # bs3-pagination 13 | 14 | Pagination 15 | 16 | ``` 17 | 26 | ``` 27 | -------------------------------------------------------------------------------- /templates/bs4/bs4-input-select-form.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 657bc2c0-8e9a-489c-a72f-dea1cd785218 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: id, label, text 9 | id-expression: constant("id") 10 | --- 11 | 12 | # bs4-input-select-form 13 | 14 | Select form group 15 | 16 | ``` 17 |
18 | 19 |
20 | 23 |
24 |
25 | ``` 26 | -------------------------------------------------------------------------------- /templates/bs3/bs3-panel.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 524abc98-2d7b-415e-ad91-353ea1f430b9 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: type, title, text 9 | type-expression: list("danger,info,primary,success,warning,default") 10 | title-expression: constant("title") 11 | text-expression: constant("text") 12 | --- 13 | 14 | # bs3-panel 15 | 16 | Panel 17 | 18 | ``` 19 |
20 |
21 |

$title$

22 |
23 |
24 | $text$ 25 |
26 |
27 | ``` 28 | -------------------------------------------------------------------------------- /templates/bs3/bs3-input.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: dc8f8287-21ff-4fc1-a917-5918dbe26b91 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: type, name, id, value, required 9 | type-expression: list("color,date,email,hidden,month,number,password,range,search,tel,text,url,week") 10 | name-expression: constant("name") 11 | id-expression: constant("id") 12 | value-expression: constant("value") 13 | required-expression: constant("required") 14 | --- 15 | 16 | # bs3-input 17 | 18 | Input 19 | 20 | ``` 21 | 22 | ``` 23 | -------------------------------------------------------------------------------- /templates/bs4/bs4-alert-dismissible.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: ff766fc4-780b-4ee2-b73d-ae3af6f628dd 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: class, title, body 9 | class-expression: list("alert-info,alert-success,alert-warning,alert-danger") 10 | --- 11 | 12 | # bs4-alert-dismissible 13 | 14 | Dismissible alert 15 | 16 | ``` 17 | 23 | ``` 24 | -------------------------------------------------------------------------------- /templates/bs4/bs4-input.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 6e845855-6432-425f-a340-cf402b432d2b 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: type, name, id, value, required 9 | type-expression: list("color,date,email,hidden,month,number,password,range,search,tel,text,url,week") 10 | name-expression: constant("name") 11 | id-expression: constant("id") 12 | value-expression: constant("value") 13 | required-expression: constant("required") 14 | --- 15 | 16 | # bs4-input 17 | 18 | Input 19 | 20 | ``` 21 | 22 | ``` 23 | -------------------------------------------------------------------------------- /templates/bs3/bs3-jumbotron.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 9c440a8d-066d-4c31-b336-8e84f3f7b93c 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: header, content, learn 9 | header-expression: constant("header") 10 | content-expression: constant("content") 11 | learn-expression: constant("Learn more") 12 | --- 13 | 14 | # bs3-jumbotron 15 | 16 | Jumbotron 17 | 18 | ``` 19 |
20 |
21 |

$header$

22 |

$content$

23 |

24 | $learn$ 25 |

26 |
27 |
28 | ``` 29 | -------------------------------------------------------------------------------- /templates/bs3/bs3-input-radio.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 9e957d94-70da-4eed-b8b1-b4815d16a21b 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: name, id, value, checked, text 9 | name-expression: constant("name") 10 | id-expression: constant("id") 11 | value-expression: constant("value") 12 | checked-expression: constant("checked") 13 | text-expression: constant("Radio Box") 14 | --- 15 | 16 | # bs3-input-radio 17 | 18 | Radio button 19 | 20 | ``` 21 |
22 | 26 |
27 | ``` 28 | -------------------------------------------------------------------------------- /templates/bs4/bs4-jumbotron-fluid.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 3d28c5c8-0db5-4782-b8bb-ee1c0b8d149c 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: header, content, learn 9 | header-expression: constant("header") 10 | content-expression: constant("content") 11 | learn-expression: constant("Learn more") 12 | --- 13 | 14 | # bs4-jumbotron-fluid 15 | 16 | Jumbotron 17 | 18 | ``` 19 |
20 |
21 |

$header$

22 |

$content$

23 |

24 | $learn$ 25 |

26 |
27 |
28 | ``` 29 | -------------------------------------------------------------------------------- /templates/bs3/bs3-table.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 1494af42-6e6a-4466-aa2f-4082dbf1517b 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: condensed, stripped, hover 9 | condensed-expression: constant("table-condensed") 10 | stripped-expression: constant("table-stripped") 11 | hover-expression: constant("table-hover") 12 | --- 13 | 14 | # bs3-table 15 | 16 | Table 17 | 18 | ``` 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 | ``` 32 | -------------------------------------------------------------------------------- /templates/bs4/bs4-button-group.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: d2e8c140-0c79-4352-86dd-c942dc2994f4 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: group, class 9 | class-expression: list("primary,secondary,success,info,warning,danger,link") 10 | group-expression: list("btn-group,btn-group-vertical") 11 | --- 12 | 13 | # bs4-button-group 14 | 15 | Button group 16 | 17 | ``` 18 |
19 | 20 | 21 | 22 |
23 | ``` 24 | -------------------------------------------------------------------------------- /templates/bs3/bs3-breadcrumbs.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 5ca82837-2f6a-4ffb-86ec-905905f9fb4e 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: href, home, href2, link, current 9 | href-expression: constant("#") 10 | home-expression: constant("Home") 11 | href2-expression: constant("#") 12 | link-expression: constant("Link") 13 | current-expression: constant("Current") 14 | --- 15 | 16 | # bs3-breadcrumbs 17 | 18 | Breadcrumbs 19 | 20 | ``` 21 | 30 | ``` 31 | -------------------------------------------------------------------------------- /templates/bs4/bs4-card.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 01e2bb30-b26e-4e63-862c-ce35e14f2e11 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: title, text, link, src 9 | title-expression: constant("Card title") 10 | text-expression: constant("Card text") 11 | link-expression: constant("Go somewhere") 12 | src-expression: constant("") 13 | --- 14 | 15 | # bs4-card 16 | 17 | Card 18 | 19 | ``` 20 |
21 | Card image cap 22 |
23 |

$title$

24 |

$text$

25 | $link$ 26 |
27 |
28 | ``` 29 | -------------------------------------------------------------------------------- /templates/bs4/bs4-input-radio.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 889373fa-e419-40cc-9305-3d161ee9191e 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: name, id, value, checked, text 9 | name-expression: constant("name") 10 | id-expression: constant("id") 11 | checked-expression: constant("checked") 12 | text-expression: constant("Radio Box") 13 | --- 14 | 15 | # bs4-input-radio 16 | 17 | Radio button 18 | 19 | ``` 20 | 25 | ``` 26 | -------------------------------------------------------------------------------- /templates/bs4/bs4-jumbotron.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: ff6794f7-d692-4afb-a2fa-991599053b0b 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: header, lead, content, learn 9 | header-expression: constant("header") 10 | lead-expression: constant("lead") 11 | content-expression: constant("content") 12 | learn-expression: constant("Learn more") 13 | --- 14 | 15 | # bs4-jumbotron 16 | 17 | Jumbotron 18 | 19 | ``` 20 |
21 |

$header$

22 |

$lead$

23 |
24 |

$content$

25 |

26 | $learn$ 27 |

28 |
29 | ``` 30 | -------------------------------------------------------------------------------- /templates/bs3/bs3-media.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 31c92c18-ef81-4d77-b33c-6c148fa89ff4 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: href, src, alt, header, text 9 | href-expression: constant("#") 10 | src-expression: constant("#") 11 | alt-expression: constant("Image") 12 | header-expression: constant("Media heading") 13 | text-expression: constant("Text goes here...") 14 | --- 15 | 16 | # bs3-media 17 | 18 | Media object 19 | 20 | ``` 21 |
22 | 23 | $alt$ 24 | 25 |
26 |

$header$

27 |

$text$

28 |
29 |
30 | ``` 31 | -------------------------------------------------------------------------------- /templates/bs4/bs4-breadcrumbs.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 764322c4-5742-4d64-bfb4-231b6144510a 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: href, home, href2, link, current 9 | href-expression: constant("#") 10 | home-expression: constant("Home") 11 | href2-expression: constant("#") 12 | link-expression: constant("Link") 13 | current-expression: constant("Current") 14 | --- 15 | 16 | # bs4-breadcrumbs 17 | 18 | Breadcrumbs 19 | 20 | ``` 21 | 30 | ``` 31 | -------------------------------------------------------------------------------- /templates/bs3/bs3-form-inline.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: bc3fb479-1b56-4084-b871-9916cff7af72 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: action, method, submit 9 | action-expression: constant("action") 10 | method-expression: constant("POST") 11 | submit-expression: constant("Submit") 12 | --- 13 | 14 | # bs3-form-inline 15 | 16 | Inline form 17 | 18 | ``` 19 |
20 |
21 | 22 | 23 |
24 | $END$ 25 | 26 |
27 | ``` 28 | -------------------------------------------------------------------------------- /templates/bs4/bs4-form-inline.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: c003b732-f516-447e-8abb-05a8f9589162 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: action, method, submit 9 | action-expression: constant("action") 10 | method-expression: constant("POST") 11 | submit-expression: constant("Submit") 12 | --- 13 | 14 | # bs4-form-inline 15 | 16 | Inline form 17 | 18 | ``` 19 |
20 |
21 | 22 | 23 |
24 | $END$ 25 | 26 |
27 | ``` 28 | -------------------------------------------------------------------------------- /templates/bs3/bs3-table-responsive.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: d9bb7213-0ca1-4fdc-ae38-b61b133ecb35 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: condensed, stripped, hover 9 | condensed-expression: constant("table-condensed") 10 | stripped-expression: constant("table-stripped") 11 | hover-expression: constant("table-hover") 12 | --- 13 | 14 | # bs3-table-responsive 15 | 16 | Responsive table 17 | 18 | ``` 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
32 |
33 | ``` 34 | -------------------------------------------------------------------------------- /templates/bs3/bs3-input-h.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: bf365f2b-5b2a-406f-937c-6dc1dc3d5022 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: id, label, type, name, value, required 9 | id-expression: constant("id") 10 | name-expression: constant("name") 11 | value-expression: constant("value") 12 | required-expression: constant("required") 13 | type-expression: list("color,date,email,hidden,month,number,password,range,search,tel,text,url,week") 14 | --- 15 | 16 | # bs3-input-h 17 | 18 | Input horizontal form 19 | 20 | ``` 21 |
22 | 23 |
24 | 25 |
26 |
27 | ``` 28 | -------------------------------------------------------------------------------- /templates/bs3/bs3-form.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 909abbda-4cda-4058-b8a6-6fe5b46e0fe2 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: action, method, title, label, submit 9 | action-expression: constant("") 10 | method-expression: constant("POST") 11 | title-expression: constant("Form title") 12 | label-expression: constant("label") 13 | submit-expression: constant("Submit") 14 | --- 15 | 16 | # bs3-form 17 | 18 | Form 19 | 20 | ``` 21 |
22 | $title$ 23 |
24 | 25 | 26 |
27 | $END$ 28 | 29 |
30 | ``` 31 | -------------------------------------------------------------------------------- /templates/bs4/bs4-form.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 296560df-92ed-4e37-9120-dace51ddffaf 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: action, method, title, label, submit 9 | action-expression: constant("") 10 | method-expression: constant("POST") 11 | title-expression: constant("Form title") 12 | label-expression: constant("label") 13 | submit-expression: constant("Submit") 14 | --- 15 | 16 | # bs4-form 17 | 18 | Form 19 | 20 | ``` 21 |
22 | $title$ 23 |
24 | 25 | 26 |
27 | $END$ 28 | 29 |
30 | ``` 31 | -------------------------------------------------------------------------------- /templates/bs3/bs3-navbar-basic.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 79fec4ce-fc27-466d-a76d-0ece370f8279 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: inverse, title, home, link 9 | inverse-expression: constant("navbar-inverse") 10 | title-expression: constant("Title") 11 | home-expression: constant("Home") 12 | link-expression: constant("Link") 13 | --- 14 | 15 | # bs3-navbar-basic 16 | 17 | Navbar basic 18 | 19 | ``` 20 | 33 | ``` 34 | -------------------------------------------------------------------------------- /templates/bs4/bs4-table.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 5f6aa4a8-3707-4b09-8e47-11c64cfe417c 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: size, stripped, hover, border, inverse, reflow 9 | size-expression: list(",table-sm") 10 | stripped-expression: list(",table-stripped") 11 | hover-expression: list(",table-hover") 12 | border-expression: list(",table-bordered") 13 | inverse-expression: list(",table-inverse") 14 | reflow-expression: list(",table-reflow") 15 | --- 16 | 17 | # bs4-table 18 | 19 | Table 20 | 21 | ``` 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 |
Header
Content
34 | ``` 35 | -------------------------------------------------------------------------------- /templates/bs4/bs4-input-form.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: d6fa1399-c715-4c03-9a4b-4035b6b1b04c 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: row, id, label, type, name, value, required 9 | id-expression: constant("id") 10 | name-expression: constant("name") 11 | value-expression: constant("value") 12 | required-expression: constant("required") 13 | type-expression: list("color,date,email,hidden,month,number,password,range,search,tel,text,url,week") 14 | row-expression: list(",row") 15 | --- 16 | 17 | # bs4-input-form 18 | 19 | Input horizontal form 20 | 21 | ``` 22 |
23 | 24 |
25 | 26 |
27 |
28 | ``` 29 | -------------------------------------------------------------------------------- /templates/bs3/bs3-form-horizontal.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: b0226462-dbff-491e-b432-6afbc568ba93 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: action, method, title, submit 9 | action-expression: constant("") 10 | method-expression: constant("POST") 11 | title-expression: constant("Form title") 12 | submit-expression: constant("Submit") 13 | --- 14 | 15 | # bs3-form-horizontal 16 | 17 | Horizontal form 18 | 19 | ``` 20 |
21 |
22 | $title$ 23 |
24 | $END$ 25 |
26 |
27 | 28 |
29 |
30 |
31 | ``` 32 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Bootstrap Live Templates for ReSharper 2 | 3 | [![Build status](https://ci.appveyor.com/api/projects/status/46d3wvd5mbw4p48x?svg=true)](https://ci.appveyor.com/project/olsh/resharper-bootstrap-templates) 4 | 5 | This extension provides live templates(snippets) for Bootstrap that let you generate Bootstrap blocks quickly. 6 | Just type `bs` and press `alt + space`, see the demo 7 | 8 | ![Demo](https://github.com/olsh/resharper-bootstrap-templates/raw/master/images/demo.gif) 9 | 10 | You can find the full list of the templates here [Bootstrap 3](templates/bs3/) and [Bootstrap 4](templates/bs4/) or in `ReSharper -> Tools -> Templates Explorer`. 11 | 12 | ## Installation 13 | 14 | Look for `Bootstrap Live Templates` in `ReSharper -> Extension manager`. 15 | 16 | ## ReSharper Gallery 17 | [Bootstrap 3](https://plugins.jetbrains.com/plugin/11658-bootstrap-3-live-templates) 18 | [Bootstrap 4](https://plugins.jetbrains.com/plugin/11678-bootstrap-4-live-templates) 19 | -------------------------------------------------------------------------------- /templates/bs3/bs3-navbar-fixed.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: f2a78619-513e-49f6-a44a-a919d70c263d 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: position, href, title, home, link 9 | position-expression: list("bottom,top") 10 | href-expression: constant("#") 11 | title-expression: constant("Title") 12 | home-expression: constant("Home") 13 | link-expression: constant("Link") 14 | --- 15 | 16 | # bs3-navbar-fixed 17 | 18 | Navbar fixed 19 | 20 | ``` 21 | 34 | ``` 35 | -------------------------------------------------------------------------------- /templates/bs4/bs4-table-responsive.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 98ee02b5-4599-4332-a377-cc032d9d9dad 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: size, stripped, hover, border, inverse 9 | size-expression: list(",table-sm") 10 | stripped-expression: list(",table-stripped") 11 | hover-expression: list(",table-hover") 12 | border-expression: list(",table-bordered") 13 | inverse-expression: list(",table-inverse") 14 | reflow-expression: list(",table-reflow") 15 | --- 16 | 17 | # bs4-table-responsive 18 | 19 | Table responsive 20 | 21 | ``` 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 |
Header
Content
35 |
36 | ``` 37 | -------------------------------------------------------------------------------- /templates/bs3/bs3-tabs.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 6e1467cc-4fad-4e3b-98bf-ede66ee7ca75 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: home, tab 9 | home-expression: constant("home") 10 | tab-expression: constant("tab") 11 | --- 12 | 13 | # bs3-tabs 14 | 15 | Tabs 16 | 17 | ``` 18 |
19 | 20 | 28 | 29 |
30 |
...
31 |
...
32 |
33 |
34 | ``` 35 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Oleg Shevchenko 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /templates/bs4/bs4-navbar.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 076f47e8-c824-419c-9a54-79d4e4a9f393 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: class, inverse, faded 9 | class-expression: list("navbar-dark,navbar-light") 10 | inverse-expression: list(",bg-inverse,bg-primary") 11 | faded-expression: list(",bg-faded") 12 | --- 13 | 14 | # bs4-navbar 15 | 16 | Navbar 17 | 18 | ``` 19 | 40 | ``` 41 | -------------------------------------------------------------------------------- /templates/bs4/bs4-pagination.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 45e158ce-4619-46cb-b2e2-411d86ed3a0b 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: size 9 | size-expression: list(",pagination-sm,pagination-lg") 10 | --- 11 | 12 | # bs4-pagination 13 | 14 | Pagination 15 | 16 | ``` 17 | 38 | ``` 39 | -------------------------------------------------------------------------------- /templates/bs4/bs4-navs.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 57c14bea-c817-4ce5-b623-11ad6f1beaf3 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: class, stacked 9 | class-expression: list(",nav-inline,nav-tabs,nav-pills") 10 | stacked-expression: list(",nav-stacked") 11 | --- 12 | 13 | # bs4-navs 14 | 15 | Navs 16 | 17 | ``` 18 | 39 | ``` 40 | -------------------------------------------------------------------------------- /templates/bs3/bs3-modal.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 31ea2fce-0a20-4d6e-8849-a6a3f4c2dafa 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: id, title, close, save 9 | id-expression: constant("id") 10 | title-expression: constant("Modal title") 11 | close-expression: constant("Close") 12 | save-expression: constant("Save") 13 | --- 14 | 15 | # bs3-modal 16 | 17 | Modal dialog 18 | 19 | ``` 20 | Trigger modal 21 | 38 | ``` 39 | -------------------------------------------------------------------------------- /templates/bs4/bs4-figure.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: aa47d3b5-9141-4fe0-84c1-f6929520b29e 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: align, text 9 | align-expression: list(",text-xs-right") 10 | text-expression: constant("A caption for the above image.") 11 | --- 12 | 13 | # bs4-figure 14 | 15 | Figure 16 | 17 | ``` 18 |
19 | 400x300 20 |
$text$
21 |
22 | ``` 23 | -------------------------------------------------------------------------------- /templates/bs4/bs4-modal.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: ccea6e52-e82f-4951-ae78-6647684e5fa1 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: id, title, close, save 9 | id-expression: constant("id") 10 | title-expression: constant("Modal title") 11 | close-expression: constant("Close") 12 | save-expression: constant("Save") 13 | --- 14 | 15 | # bs4-modal 16 | 17 | Modal dialog 18 | 19 | ``` 20 | Trigger modal 21 | 40 | ``` 41 | -------------------------------------------------------------------------------- /templates/bs4/README.md: -------------------------------------------------------------------------------- 1 | # Templates 2 | 3 | ## bootstrap 4 4 | 5 | Shortcut | Description 6 | ---------|------------ 7 | [bs4-accordion](bs4-accordion.md) | Accordion 8 | [bs4-alert](bs4-alert.md) | Alert 9 | [bs4-alert-dismissible](bs4-alert-dismissible.md) | Dismissible alert 10 | [bs4-breadcrumbs](bs4-breadcrumbs.md) | Breadcrumbs 11 | [bs4-button](bs4-button.md) | Button 12 | [bs4-button-group](bs4-button-group.md) | Button group 13 | [bs4-card](bs4-card.md) | Card 14 | [bs4-carousel](bs4-carousel.md) | Carousel 15 | [bs4-clearfix](bs4-clearfix.md) | Clearfix 16 | [bs4-figure](bs4-figure.md) | Figure 17 | [bs4-form](bs4-form.md) | Form 18 | [bs4-form-inline](bs4-form-inline.md) | Inline form 19 | [bs4-input](bs4-input.md) | Input 20 | [bs4-input-checkbox](bs4-input-checkbox.md) | Checkbox 21 | [bs4-input-form](bs4-input-form.md) | Input horizontal form 22 | [bs4-input-label](bs4-input-label.md) | Input label 23 | [bs4-input-radio](bs4-input-radio.md) | Radio button 24 | [bs4-input-reset](bs4-input-reset.md) | Reset button 25 | [bs4-input-select](bs4-input-select.md) | Select 26 | [bs4-input-select-form](bs4-input-select-form.md) | Select form group 27 | [bs4-input-submit](bs4-input-submit.md) | Submit button 28 | [bs4-jumbotron](bs4-jumbotron.md) | Jumbotron 29 | [bs4-jumbotron-fluid](bs4-jumbotron-fluid.md) | Jumbotron 30 | [bs4-label](bs4-label.md) | Label 31 | [bs4-list-group](bs4-list-group.md) | List group 32 | [bs4-modal](bs4-modal.md) | Modal dialog 33 | [bs4-navbar](bs4-navbar.md) | Navbar 34 | [bs4-navs](bs4-navs.md) | Navs 35 | [bs4-pagination](bs4-pagination.md) | Pagination 36 | [bs4-table](bs4-table.md) | Table 37 | [bs4-table-responsive](bs4-table-responsive.md) | Table responsive 38 | [bs4-tag](bs4-tag.md) | Tag 39 | [bs4-textarea](bs4-textarea.md) | Textarea 40 | 41 | -------------------------------------------------------------------------------- /src/Resharper.Bootstrap3.Templates/CodeCompetition/Bootstrap3CompletionStrategy.cs: -------------------------------------------------------------------------------- 1 | using JetBrains.Application.Settings; 2 | using JetBrains.ProjectModel; 3 | using JetBrains.ReSharper.Feature.Services.CodeCompletion; 4 | using JetBrains.ReSharper.Feature.Services.CodeCompletion.Settings; 5 | using JetBrains.ReSharper.Feature.Services.Html.CodeCompletion; 6 | using JetBrains.ReSharper.Feature.Services.Html.CodeCompletion.Settings; 7 | using JetBrains.ReSharper.Psi; 8 | using JetBrains.ReSharper.Psi.Html; 9 | using JetBrains.ReSharper.Psi.Tree; 10 | using JetBrains.TextControl; 11 | 12 | namespace Resharper.Bootstrap3.Templates.CodeCompetition 13 | { 14 | [SolutionComponent] 15 | public class Bootstrap3CompletionStrategy : IAutomaticCodeCompletionStrategy 16 | { 17 | private readonly SettingsScalarEntry _settingsScalarEntry; 18 | 19 | public Bootstrap3CompletionStrategy(ISettingsStore settingsStore) 20 | { 21 | _settingsScalarEntry = 22 | settingsStore.Schema.GetScalarEntry( 23 | key => key.OnIdentifiers); 24 | } 25 | 26 | public bool ForceHideCompletion => false; 27 | 28 | public PsiLanguageType Language => HtmlLanguage.Instance; 29 | 30 | public bool AcceptsFile(IFile file, ITextControl textControl) 31 | { 32 | return this.MatchHtmlToken( 33 | file, 34 | textControl, 35 | curToken => curToken.GetTokenType() == curToken.TokenTypes.TEXT); 36 | } 37 | 38 | public bool AcceptTyping(char c, ITextControl textControl, IContextBoundSettingsStore boundSettingsStore) 39 | { 40 | return (c == 's') && this.MatchText(textControl, 1, text => text == "b"); 41 | } 42 | 43 | public AutopopupType IsEnabledInSettings(IContextBoundSettingsStore settingsStore, ITextControl textControl) 44 | { 45 | return (AutopopupType)settingsStore.GetValue(_settingsScalarEntry, null); 46 | } 47 | 48 | public bool ProcessSubsequentTyping(char c, ITextControl textControl) 49 | { 50 | return false; 51 | } 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /src/Resharper.Bootstrap4.Templates/CodeCompetition/Bootstrap4CompletionStrategy.cs: -------------------------------------------------------------------------------- 1 | using JetBrains.Application.Settings; 2 | using JetBrains.ProjectModel; 3 | using JetBrains.ReSharper.Feature.Services.CodeCompletion; 4 | using JetBrains.ReSharper.Feature.Services.CodeCompletion.Settings; 5 | using JetBrains.ReSharper.Feature.Services.Html.CodeCompletion; 6 | using JetBrains.ReSharper.Feature.Services.Html.CodeCompletion.Settings; 7 | using JetBrains.ReSharper.Psi; 8 | using JetBrains.ReSharper.Psi.Html; 9 | using JetBrains.ReSharper.Psi.Tree; 10 | using JetBrains.TextControl; 11 | 12 | namespace Resharper.Bootstrap4.Templates.CodeCompetition 13 | { 14 | [SolutionComponent] 15 | public class Bootstrap4CompletionStrategy : IAutomaticCodeCompletionStrategy 16 | { 17 | private readonly SettingsScalarEntry _settingsScalarEntry; 18 | 19 | public Bootstrap4CompletionStrategy(ISettingsStore settingsStore) 20 | { 21 | _settingsScalarEntry = 22 | settingsStore.Schema.GetScalarEntry( 23 | key => key.OnIdentifiers); 24 | } 25 | 26 | public bool ForceHideCompletion => false; 27 | 28 | public PsiLanguageType Language => HtmlLanguage.Instance; 29 | 30 | public bool AcceptsFile(IFile file, ITextControl textControl) 31 | { 32 | return this.MatchHtmlToken( 33 | file, 34 | textControl, 35 | curToken => curToken.GetTokenType() == curToken.TokenTypes.TEXT); 36 | } 37 | 38 | public bool AcceptTyping(char c, ITextControl textControl, IContextBoundSettingsStore boundSettingsStore) 39 | { 40 | return (c == 's') && this.MatchText(textControl, 1, text => text == "b"); 41 | } 42 | 43 | public AutopopupType IsEnabledInSettings(IContextBoundSettingsStore settingsStore, ITextControl textControl) 44 | { 45 | return (AutopopupType)settingsStore.GetValue(_settingsScalarEntry, null); 46 | } 47 | 48 | public bool ProcessSubsequentTyping(char c, ITextControl textControl) 49 | { 50 | return false; 51 | } 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /templates/bs3/bs3-navbar.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 1c2944c4-35f0-485e-8b24-3c1f5cde55b7 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: href, title 9 | href-expression: list("#") 10 | title-expression: constant("Title") 11 | --- 12 | 13 | # bs3-navbar 14 | 15 | Navbar 16 | 17 | ``` 18 | 57 | ``` 58 | -------------------------------------------------------------------------------- /templates/bs3/README.md: -------------------------------------------------------------------------------- 1 | # Templates 2 | 3 | ## bootstrap 3 4 | 5 | Shortcut | Description 6 | ---------|------------ 7 | [bs3-alert](bs3-alert.md) | Alert 8 | [bs3-alert-dismissible](bs3-alert-dismissible.md) | Dismissible alert 9 | [bs3-badge](bs3-badge.md) | Badge 10 | [bs3-block-button](bs3-block-button.md) | Block button 11 | [bs3-block-link-button](bs3-block-link-button.md) | Block link button 12 | [bs3-breadcrumbs](bs3-breadcrumbs.md) | Breadcrumbs 13 | [bs3-button](bs3-button.md) | Button 14 | [bs3-carousel](bs3-carousel.md) | Carousel 15 | [bs3-clearfix](bs3-clearfix.md) | Clearfix 16 | [bs3-form](bs3-form.md) | Form 17 | [bs3-form-horizontal](bs3-form-horizontal.md) | Horizontal form 18 | [bs3-form-inline](bs3-form-inline.md) | Inline form 19 | [bs3-input](bs3-input.md) | Input 20 | [bs3-input-checkbox](bs3-input-checkbox.md) | Checkbox 21 | [bs3-input-h](bs3-input-h.md) | Input horizontal form 22 | [bs3-input-label](bs3-input-label.md) | Input label 23 | [bs3-input-radio](bs3-input-radio.md) | Radio button 24 | [bs3-input-reset](bs3-input-reset.md) | Reset button 25 | [bs3-input-reset-h](bs3-input-reset-h.md) | Reset button horizontal form 26 | [bs3-input-select](bs3-input-select.md) | Select 27 | [bs3-input-select-h](bs3-input-select-h.md) | Select horizontal form 28 | [bs3-input-submit](bs3-input-submit.md) | Submit button 29 | [bs3-input-submit-h](bs3-input-submit-h.md) | Submit button horizontal form 30 | [bs3-jumbotron](bs3-jumbotron.md) | Jumbotron 31 | [bs3-label](bs3-label.md) | Label 32 | [bs3-link-button](bs3-link-button.md) | Link button 33 | [bs3-link-group](bs3-link-group.md) | Link button group 34 | [bs3-list-group](bs3-list-group.md) | List group 35 | [bs3-list-group-linked](bs3-list-group-linked.md) | List group linked 36 | [bs3-media](bs3-media.md) | Media object 37 | [bs3-modal](bs3-modal.md) | Modal dialog 38 | [bs3-navbar](bs3-navbar.md) | Navbar 39 | [bs3-navbar-basic](bs3-navbar-basic.md) | Navbar basic 40 | [bs3-navbar-brand](bs3-navbar-brand.md) | Brand link 41 | [bs3-navbar-fixed](bs3-navbar-fixed.md) | Navbar fixed 42 | [bs3-navbar-form](bs3-navbar-form.md) | Navbar form 43 | [bs3-navbar-link](bs3-navbar-link.md) | Navbar link 44 | [bs3-page-header](bs3-page-header.md) | Page header 45 | [bs3-pager](bs3-pager.md) | Pager 46 | [bs3-pager-aligned](bs3-pager-aligned.md) | Pager aligned 47 | [bs3-pagination](bs3-pagination.md) | Pagination 48 | [bs3-panel](bs3-panel.md) | Panel 49 | [bs3-panel-footer](bs3-panel-footer.md) | Panel with footer 50 | [bs3-table](bs3-table.md) | Table 51 | [bs3-table-responsive](bs3-table-responsive.md) | Responsive table 52 | [bs3-tabs](bs3-tabs.md) | Tabs 53 | [bs3-textarea](bs3-textarea.md) | Textarea 54 | [bs3-toolbar](bs3-toolbar.md) | Toolbar 55 | [bs3-well](bs3-well.md) | Well 56 | 57 | -------------------------------------------------------------------------------- /src/Resharper.BootstrapTemplates.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.30804.86 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Resharper.Bootstrap3.Templates", "Resharper.Bootstrap3.Templates\Resharper.Bootstrap3.Templates.csproj", "{B1B2441D-DA96-4B84-B9FA-5017B2442205}" 7 | EndProject 8 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Resharper.Bootstrap4.Templates", "Resharper.Bootstrap4.Templates\Resharper.Bootstrap4.Templates.csproj", "{C8EAF09B-F10B-486C-98B3-71E62C7B4650}" 9 | EndProject 10 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{C61818CE-4EA9-4221-A083-09EEF31B2C3D}" 11 | EndProject 12 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "_build", "..\build\_build.csproj", "{07B85C54-4DA5-479A-8353-A85EA122BCD6}" 13 | EndProject 14 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{82411F14-B4FC-4A07-8219-721DEE57FDC0}" 15 | ProjectSection(SolutionItems) = preProject 16 | ..\.editorconfig = ..\.editorconfig 17 | ..\.gitignore = ..\.gitignore 18 | ..\README.md = ..\README.md 19 | ..\Directory.Build.props = ..\Directory.Build.props 20 | EndProjectSection 21 | EndProject 22 | Global 23 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 24 | Debug|Any CPU = Debug|Any CPU 25 | Release|Any CPU = Release|Any CPU 26 | EndGlobalSection 27 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 28 | {B1B2441D-DA96-4B84-B9FA-5017B2442205}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 29 | {B1B2441D-DA96-4B84-B9FA-5017B2442205}.Debug|Any CPU.Build.0 = Debug|Any CPU 30 | {B1B2441D-DA96-4B84-B9FA-5017B2442205}.Release|Any CPU.ActiveCfg = Release|Any CPU 31 | {B1B2441D-DA96-4B84-B9FA-5017B2442205}.Release|Any CPU.Build.0 = Release|Any CPU 32 | {C8EAF09B-F10B-486C-98B3-71E62C7B4650}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 33 | {C8EAF09B-F10B-486C-98B3-71E62C7B4650}.Debug|Any CPU.Build.0 = Debug|Any CPU 34 | {C8EAF09B-F10B-486C-98B3-71E62C7B4650}.Release|Any CPU.ActiveCfg = Release|Any CPU 35 | {C8EAF09B-F10B-486C-98B3-71E62C7B4650}.Release|Any CPU.Build.0 = Release|Any CPU 36 | {07B85C54-4DA5-479A-8353-A85EA122BCD6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 37 | {07B85C54-4DA5-479A-8353-A85EA122BCD6}.Release|Any CPU.ActiveCfg = Release|Any CPU 38 | EndGlobalSection 39 | GlobalSection(SolutionProperties) = preSolution 40 | HideSolutionNode = FALSE 41 | EndGlobalSection 42 | GlobalSection(NestedProjects) = preSolution 43 | {07B85C54-4DA5-479A-8353-A85EA122BCD6} = {C61818CE-4EA9-4221-A083-09EEF31B2C3D} 44 | EndGlobalSection 45 | GlobalSection(ExtensibilityGlobals) = postSolution 46 | SolutionGuid = {850167B0-E4BE-4E48-A7F0-5CE394C80A2E} 47 | EndGlobalSection 48 | EndGlobal 49 | -------------------------------------------------------------------------------- /.nuke/build.schema.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-04/schema#", 3 | "title": "Build Schema", 4 | "$ref": "#/definitions/build", 5 | "definitions": { 6 | "build": { 7 | "type": "object", 8 | "properties": { 9 | "BootstrapVersion": { 10 | "type": "string" 11 | }, 12 | "Configuration": { 13 | "type": "string" 14 | }, 15 | "Continue": { 16 | "type": "boolean", 17 | "description": "Indicates to continue a previously failed build attempt" 18 | }, 19 | "Help": { 20 | "type": "boolean", 21 | "description": "Shows the help text for this build assembly" 22 | }, 23 | "Host": { 24 | "type": "string", 25 | "description": "Host for execution. Default is 'automatic'", 26 | "enum": [ 27 | "AppVeyor", 28 | "AzurePipelines", 29 | "Bamboo", 30 | "Bitrise", 31 | "GitHubActions", 32 | "GitLab", 33 | "Jenkins", 34 | "SpaceAutomation", 35 | "TeamCity", 36 | "Terminal", 37 | "TravisCI" 38 | ] 39 | }, 40 | "NoLogo": { 41 | "type": "boolean", 42 | "description": "Disables displaying the NUKE logo" 43 | }, 44 | "Plan": { 45 | "type": "boolean", 46 | "description": "Shows the execution plan (HTML)" 47 | }, 48 | "Profile": { 49 | "type": "array", 50 | "description": "Defines the profiles to load", 51 | "items": { 52 | "type": "string" 53 | } 54 | }, 55 | "Root": { 56 | "type": "string", 57 | "description": "Root directory during build execution" 58 | }, 59 | "Skip": { 60 | "type": "array", 61 | "description": "List of targets to be skipped. Empty list skips all dependencies", 62 | "items": { 63 | "type": "string", 64 | "enum": [ 65 | "Compile", 66 | "CompileTemplates", 67 | "Pack", 68 | "Restore", 69 | "UpdateBuildVersion", 70 | "UploadArtifact" 71 | ] 72 | } 73 | }, 74 | "Solution": { 75 | "type": "string", 76 | "description": "Path to a solution file that is automatically loaded" 77 | }, 78 | "Target": { 79 | "type": "array", 80 | "description": "List of targets to be invoked. Default is '{default_target}'", 81 | "items": { 82 | "type": "string", 83 | "enum": [ 84 | "Compile", 85 | "CompileTemplates", 86 | "Pack", 87 | "Restore", 88 | "UpdateBuildVersion", 89 | "UploadArtifact" 90 | ] 91 | } 92 | }, 93 | "Verbosity": { 94 | "type": "string", 95 | "description": "Logging verbosity during build execution. Default is 'Normal'", 96 | "enum": [ 97 | "Minimal", 98 | "Normal", 99 | "Quiet", 100 | "Verbose" 101 | ] 102 | } 103 | } 104 | } 105 | } 106 | } -------------------------------------------------------------------------------- /templates/bs4/bs4-accordion.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: a9988849-25d6-478a-bc7a-3aaaea652032 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: id 9 | id-expression: constant("accordion-id") 10 | --- 11 | 12 | # bs4-accordion 13 | 14 | Accordion 15 | 16 | ``` 17 |
18 |
19 | 26 |
27 | Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. 28 |
29 |
30 |
31 | 38 |
39 | Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. 40 |
41 |
42 |
43 | 50 |
51 | Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. 52 |
53 |
54 |
55 | ``` 56 | -------------------------------------------------------------------------------- /templates/bs3/bs3-carousel.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: d02f76e6-8bc9-4411-a8e5-d3638d5fba92 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 3 7 | scopes: InHtmlLikeFile 8 | parameterOrder: id 9 | id-expression: constant("carousel-id") 10 | --- 11 | 12 | # bs3-carousel 13 | 14 | Carousel 15 | 16 | ``` 17 | 58 | ``` 59 | -------------------------------------------------------------------------------- /templates/bs4/bs4-carousel.md: -------------------------------------------------------------------------------- 1 | --- 2 | guid: 589e6938-b5e5-4eb2-91e9-f4c54bd428d8 3 | type: Live 4 | reformat: True 5 | shortenReferences: True 6 | categories: bootstrap 4 7 | scopes: InHtmlLikeFile 8 | parameterOrder: id 9 | id-expression: constant("carousel-id") 10 | --- 11 | 12 | # bs4-carousel 13 | 14 | Carousel 15 | 16 | ``` 17 | 64 | ``` 65 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # Created by https://www.gitignore.io/api/visualstudio 3 | 4 | ### VisualStudio ### 5 | ## Ignore Visual Studio temporary files, build results, and 6 | ## files generated by popular Visual Studio add-ons. 7 | 8 | # User-specific files 9 | *.suo 10 | *.user 11 | *.userosscache 12 | *.sln.docstates 13 | 14 | # User-specific files (MonoDevelop/Xamarin Studio) 15 | *.userprefs 16 | 17 | # Build results 18 | [Dd]ebug/ 19 | [Dd]ebugPublic/ 20 | [Rr]elease/ 21 | [Rr]eleases/ 22 | x64/ 23 | x86/ 24 | bld/ 25 | [Bb]in/ 26 | [Oo]bj/ 27 | [Ll]og/ 28 | 29 | # Visual Studio 2015 cache/options directory 30 | .vs/ 31 | # Uncomment if you have tasks that create the project's static files in wwwroot 32 | #wwwroot/ 33 | 34 | # MSTest test Results 35 | [Tt]est[Rr]esult*/ 36 | [Bb]uild[Ll]og.* 37 | 38 | # NUNIT 39 | *.VisualState.xml 40 | TestResult.xml 41 | 42 | # Build Results of an ATL Project 43 | [Dd]ebugPS/ 44 | [Rr]eleasePS/ 45 | dlldata.c 46 | 47 | # DNX 48 | project.lock.json 49 | artifacts/ 50 | 51 | *_i.c 52 | *_p.c 53 | *_i.h 54 | *.ilk 55 | *.meta 56 | *.obj 57 | *.pch 58 | *.pdb 59 | *.pgc 60 | *.pgd 61 | *.rsp 62 | *.sbr 63 | *.tlb 64 | *.tli 65 | *.tlh 66 | *.tmp 67 | *.tmp_proj 68 | *.log 69 | *.vspscc 70 | *.vssscc 71 | .builds 72 | *.pidb 73 | *.svclog 74 | *.scc 75 | 76 | # Chutzpah Test files 77 | _Chutzpah* 78 | 79 | # Visual C++ cache files 80 | ipch/ 81 | *.aps 82 | *.ncb 83 | *.opendb 84 | *.opensdf 85 | *.sdf 86 | *.cachefile 87 | 88 | # Visual Studio profiler 89 | *.psess 90 | *.vsp 91 | *.vspx 92 | *.sap 93 | 94 | # TFS 2012 Local Workspace 95 | $tf/ 96 | 97 | # Guidance Automation Toolkit 98 | *.gpState 99 | 100 | # ReSharper is a .NET coding add-in 101 | _ReSharper*/ 102 | *.[Rr]e[Ss]harper 103 | *.DotSettings.user 104 | 105 | # JustCode is a .NET coding add-in 106 | .JustCode 107 | 108 | # TeamCity is a build add-in 109 | _TeamCity* 110 | 111 | # DotCover is a Code Coverage Tool 112 | *.dotCover 113 | 114 | # NCrunch 115 | _NCrunch_* 116 | .*crunch*.local.xml 117 | nCrunchTemp_* 118 | 119 | # MightyMoose 120 | *.mm.* 121 | AutoTest.Net/ 122 | 123 | # Web workbench (sass) 124 | .sass-cache/ 125 | 126 | # Installshield output folder 127 | [Ee]xpress/ 128 | 129 | # DocProject is a documentation generator add-in 130 | DocProject/buildhelp/ 131 | DocProject/Help/*.HxT 132 | DocProject/Help/*.HxC 133 | DocProject/Help/*.hhc 134 | DocProject/Help/*.hhk 135 | DocProject/Help/*.hhp 136 | DocProject/Help/Html2 137 | DocProject/Help/html 138 | 139 | # Click-Once directory 140 | publish/ 141 | 142 | # Publish Web Output 143 | *.[Pp]ublish.xml 144 | *.azurePubxml 145 | # TODO: Comment the next line if you want to checkin your web deploy settings 146 | # but database connection strings (with potential passwords) will be unencrypted 147 | *.pubxml 148 | *.publishproj 149 | 150 | # NuGet Packages 151 | *.nupkg 152 | # The packages folder can be ignored because of Package Restore 153 | **/packages/* 154 | # except build/, which is used as an MSBuild target. 155 | !**/packages/build/ 156 | # Uncomment if necessary however generally it will be regenerated when needed 157 | #!**/packages/repositories.config 158 | # NuGet v3's project.json files produces more ignoreable files 159 | *.nuget.props 160 | *.nuget.targets 161 | 162 | # Microsoft Azure Build Output 163 | csx/ 164 | *.build.csdef 165 | 166 | # Microsoft Azure Emulator 167 | ecf/ 168 | rcf/ 169 | 170 | # Windows Store app package directories and files 171 | AppPackages/ 172 | BundleArtifacts/ 173 | Package.StoreAssociation.xml 174 | _pkginfo.txt 175 | 176 | # Visual Studio cache files 177 | # files ending in .cache can be ignored 178 | *.[Cc]ache 179 | # but keep track of directories ending in .cache 180 | !*.[Cc]ache/ 181 | 182 | # Others 183 | ClientBin/ 184 | ~$* 185 | *~ 186 | *.dbmdl 187 | *.dbproj.schemaview 188 | *.pfx 189 | *.publishsettings 190 | node_modules/ 191 | orleans.codegen.cs 192 | 193 | # Since there are multiple workflows, uncomment next line to ignore bower_components 194 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 195 | #bower_components/ 196 | 197 | # RIA/Silverlight projects 198 | Generated_Code/ 199 | 200 | # Backup & report files from converting an old project file 201 | # to a newer Visual Studio version. Backup files are not needed, 202 | # because we have git ;-) 203 | _UpgradeReport_Files/ 204 | Backup*/ 205 | UpgradeLog*.XML 206 | UpgradeLog*.htm 207 | 208 | # SQL Server files 209 | *.mdf 210 | *.ldf 211 | 212 | # Business Intelligence projects 213 | *.rdl.data 214 | *.bim.layout 215 | *.bim_*.settings 216 | 217 | # Microsoft Fakes 218 | FakesAssemblies/ 219 | 220 | # GhostDoc plugin setting file 221 | *.GhostDoc.xml 222 | 223 | # Node.js Tools for Visual Studio 224 | .ntvs_analysis.dat 225 | 226 | # Visual Studio 6 build log 227 | *.plg 228 | 229 | # Visual Studio 6 workspace options file 230 | *.opt 231 | 232 | # Visual Studio LightSwitch build output 233 | **/*.HTMLClient/GeneratedArtifacts 234 | **/*.DesktopClient/GeneratedArtifacts 235 | **/*.DesktopClient/ModelManifest.xml 236 | **/*.Server/GeneratedArtifacts 237 | **/*.Server/ModelManifest.xml 238 | _Pvt_Extensions 239 | 240 | # Paket dependency manager 241 | .paket/paket.exe 242 | paket-files/ 243 | 244 | # FAKE - F# Make 245 | .fake/ 246 | 247 | # JetBrains Rider 248 | .idea/ 249 | *.sln.iml 250 | 251 | !rstc/ 252 | templates.dotSettings 253 | 254 | tools/* 255 | 256 | # Nuke temp files 257 | .nuke/temp 258 | --------------------------------------------------------------------------------