src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.ts/AbstractCellRenderer/createBetweenCellToolbar
class AbstractCellRenderer:	protected createBetweenCellToolbar(container: HTMLElement, disposables: DisposableStore, contextKeyService: IContextKeyService, notebookOptions: NotebookOptions): ToolBar {
		const toolbar = new ToolBar(container, this.contextMenuService, {
			actionViewItemProvider: action => {
				if (action instanceof MenuItemAction) {
					if (notebookOptions.getLayoutConfiguration().insertToolbarAlignment === 'center') {
						return new CodiconActionViewItem(action, this.keybindingService, this.notificationService);
					} else {
						return new MenuEntryActionViewItem(action, this.keybindingService, this.notificationService);
					}
				}

				return undefined;
			}
		});
		disposables.add(toolbar);

		const menu = disposables.add(this.menuService.createMenu(this.notebookEditor.creationOptions.menuIds.cellInsertToolbar, contextKeyService));
		const updateActions = () => {
			const actions = this.getCellToolbarActions(menu);
			toolbar.setActions(actions.primary, actions.secondary);
		};

		disposables.add(menu.onDidChange(() => updateActions()));
		disposables.add(notebookOptions.onDidChangeOptions((e) => {
			if (e.insertToolbarAlignment) {
				updateActions();
			}
		}));
		updateActions();

		return toolbar;
	}