home

How to add a git repository to a composer.json file in Drupal 9

  1. Fork a Github module like https://github.com/protitude/module_markdown and change the composer.json like
@@ -1,5 +1,5 @@
{
-  "name": "protitude/markdown",
+  "name": "asanchez75/markdown",
  "description": "Allows content to be submitted using Markdown, a simple plain-text syntax that is transformed into valid HTML.",
  "type": "drupal-module",
  "homepage": "https://www.drupal.org/project/markdown",
  1. in the composer.json file of your Drupal 9 installation
Tags

VIM

:%!fold -w 60

Ex commands

delete all text

:%d

copy all text

:y+

paste all text

:put+

Pipe shell

https://superuser.com/questions/157987/pipe-output-of-shell-command-into-a-new-buffer-in-vim

Tags