If your cursor is on a single two-string array, such as:
['W. Gao 2016a', 'doi.org/10.1021/acs.jnatprod.5b01063']
- Copy the entire line of the existing two-string array.
- After the first open bracket, add [, where is a tab character.
- After the close bracket, add , then press return and then tab.
- Paste the original two-string array that you copied earlier.
- Press the return key, and then add ] (where is two tab characters).
Otherwise, it is one the first line of an array containing two or more two-string arrays, such as:
[ ['Charchoglyan 2007', 'doi.org/10.1016/j.phytochem.2007.06.004'],
['Sparling 2015', 'doi.org/10.1021/acs.orglett.5b01121']
]
- Copy the entire line of the last two-string array.
- Add , to the end of the last two-string array.
- At the beginning of the next line, paste the two-string array that you just copied.