Skip to content

Commit

Permalink
Replace <img> tags with markdown images.
Browse files Browse the repository at this point in the history
Fixes broken image widths in some older blog posts.
  • Loading branch information
ewels committed Mar 27, 2024
1 parent 21bc71d commit 2c65292
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 61 deletions.
46 changes: 0 additions & 46 deletions get-started-with-k8s-and-nextflow-DRAFT.md

This file was deleted.

3 changes: 3 additions & 0 deletions public/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -1003,6 +1003,9 @@ a.carousel-arrow-next {
width: 100%;
}
}
.blg-text > p > img {
margin: 1em 0;
}
.blg-social {
list-style-type: none;
margin: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This solution is characterised by using a lean application stack which does not
require any third party component installed in the EC2 instances other than a Java VM and the
Docker engine (the latter it's only required in order to deploy pipeline binary dependencies).

<img alt='Nextflow cloud deployment' width='640' height='448' src='/img/cloud-deployment.png' />
![Nextflow cloud deployment](/img/cloud-deployment.png)

Each EC2 instance runs a script, at bootstrap time, that mounts the [EFS](https://aws.amazon.com/efs/)
storage and downloads and launches the Nextflow cluster daemon. This daemon is self-configuring,
Expand Down
4 changes: 1 addition & 3 deletions src/content/blog/2017/nextflow-and-cwl.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ subworkflows are not supported, each step must be a CWL `CommandLineTool` file.

The image below shows an example of the major components in the CWL files and then post-conversion (click to zoom).

<a href='/img/cwl2nxf-min.png' target='_blank'>
<img alt='Nextflow CWL conversion' width='760' src='/img/cwl2nxf-min.png' style='margin:1em auto'/>
</a>
[![Nextflow CWL conversion](/img/cwl2nxf-min.png)](/img/cwl2nxf-min.png)

CWL and Nextflow share a similar structure of defining inputs and outputs as shown above.

Expand Down
2 changes: 1 addition & 1 deletion src/content/blog/2017/nextflow-hack17.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ An image of the example report is shown below with the interactive HTML availabl
[here](/misc/nf-trace-report.html). It is expected to be merged into the main branch of Nextflow
with documentation in a near-future release.

<img alt='Nextflow HTML execution report' width='760' src='/img/nf-trace-report-min.png' style='margin:1em auto'/>
![Nextflow HTML execution report](/img/nf-trace-report-min.png)

### Nextflow pipeline for 16S microbial data

Expand Down
2 changes: 1 addition & 1 deletion src/content/blog/2017/nextflow-workshop.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,4 @@ The registration form is [available here](http://apps.crg.es/content/internet/ev
<br>
See you in Barcelona!

<img alt='Nextflow workshop' width='640' src='/img/nf-workshop.png' style='padding-top: 1em'/>
![Nextflow workshop](/img/nf-workshop.png)
21 changes: 16 additions & 5 deletions src/content/blog/2018/nextflow-turns-5.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ There is also a Python package with helper tools for Nextflow.

You can find more information about the community via the project [website](https://nf-core.github.io), [GitHub repository](https://github.com/nf-core), [Twitter account](https://twitter.com/nf_core) or join the dedicated [Gitter](https://gitter.im/nf-core/Lobby) chat.

<img alt='nf-core logo' width='560' src='/img/nf-core-logo-min.png' style='margin:1em auto; cursor: pointer;' onclick="window.open('https://nf-core.github.io')" />
<div class="row"><div class="col-md-6 col-md-offset-3">

[![nf-core logo](/img/nf-core-logo-min.png)](https://nf-co.re)

</div></div>

### Kubernetes has landed

Expand All @@ -41,7 +45,7 @@ Kubernetes looks be one of the key technologies for the application of container

The new command `nextflow kuberun` launches the Nextflow driver as a _pod_ which is then able to run workflow tasks as other pods within a Kubernetes cluster. You can read more in the documentation on Kubernetes support for Nextflow [here](https://www.nextflow.io/docs/latest/kubernetes.html).

<img alt='Nextflow and Kubernetes' width='760' src='/img/nextflow-kubernetes-min.png' style='margin:1em auto'/>
![Nextflow and Kubernetes](/img/nextflow-kubernetes-min.png)

### Improved reporting and notifications

Expand All @@ -57,14 +61,21 @@ There has also been additions to workflow notifications. Currently these can be

Writing workflows no longer has to be done in monochrome. There is now syntax highlighting for Nextflow in the popular [Atom editor](https://atom.io) as well as in [Visual Studio Code](https://code.visualstudio.com).

<img alt='Nextflow syntax highlighting with Atom' width='360' src='/img/atom-min.png' style='margin:1em auto; cursor: pointer;' onclick="window.open(this.src)" />
<img alt='Nextflow syntax highlighting with VSCode' width='360' src='/img/vscode-min.png' style='margin:1em auto; cursor: pointer;' onclick="window.open(this.src)" />
<div class="row"><div class="col-md-6">

[![Nextflow syntax highlighting with Atom](/img/atom-min.png)](/img/atom-min.png)

</div><div class="col-md-6">

[![Nextflow syntax highlighting with VSCode](/img/vscode-min.png)](/img/vscode-min.png)

</div></div>

You can find the Atom plugin by searching for Nextflow in Atoms package installer or clicking [here](https://atom.io/packages/language-nextflow). The Visual Studio plugin can be downloaded [here](https://marketplace.visualstudio.com/items?itemName=nextflow.nextflow).

On a related note, Nextflow is now an official language on GitHub!

<img alt='GitHub nextflow syntax' width='760' src='/img/github-nf-syntax-min.png' style='margin:1em auto'/>
![GitHub nextflow syntax](/img/github-nf-syntax-min.png)

### Conclusion

Expand Down
8 changes: 4 additions & 4 deletions src/content/blog/2021/nextflow-developer-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Nextflow pipelines can be written in any plain text editor. I'm personally a bit

My current choice is Visual Studio Code which provides a wealth of add-ons, the most obvious of these being syntax highlighting. With [VSCode installed](https://code.visualstudio.com/download), you can search for the Nextflow extension in the marketplace.

<img alt='VSCode with Nextflow Syntax Highlighting' width='796' height='482' src='/img/vscode-nf-highlighting.png' />
![VSCode with Nextflow Syntax Highlighting](/img/vscode-nf-highlighting.png)

Other syntax highlighting has been made available by the community including:

Expand All @@ -46,7 +46,7 @@ Start the Nextflow console with the following command:
$ nextflow console
```

<img alt='Nextflow REPL console' width='796' height='549' src='/img/nf-repl-console.png' />
![Nextflow REPL console](/img/nf-repl-console.png)

Use the `CTRL+R` keyboard shortcut to run (`⌘+R`on the Mac) and to evaluate your code. You can also evaluate by selecting code and use the **Run selection**.

Expand All @@ -70,7 +70,7 @@ To learn more about building Docker containers, see the [Seqera Labs tutorial](h

Additionally, you can install the VSCode marketplace addon for Docker to manage and interactively run and test the containers and images on your machine. You can even connect to remote registries such as Dockerhub, Quay.io, AWS ECR, Google Cloud and Azure Container registries.

<img alt='VSCode with Docker Extension' width='796' height='482' src='/img/vs-code-with-docker-extension.png' />
![VSCode with Docker Extension](/img/vs-code-with-docker-extension.png)

### 5. Use Tower to monitor your pipelines

Expand Down Expand Up @@ -106,7 +106,7 @@ or
$ pip install nf-core
```

<img alt='nf-core tools' width='796' height='561' src='/img/nf-core-tools.png' />
![nf-core tools](/img/nf-core-tools.png)

### Conclusion

Expand Down

0 comments on commit 2c65292

Please sign in to comment.