Remove Extra Line From Copy And Paste From Visual Code Into Forums Content
👤 By edwin | 📆
This is a very simple short notes on how to remove the extra line from a copy and paste from vs code.
white-space: pre;
Replace all with white-space: pre;
Example:
ion-menu ion-content {
--padding-top: 20px;
--padding-bottom: 20px;
--background: var(--ion-item-background, var(--ion-background-color, #fff));
}
/* Remove background transitions for switching themes */
ion-menu ion-item {
--transition: none;
}
Example Cleaned by removed all white-space: pre;
ion-menu ion-content {
--padding-top: 20px;
--padding-bottom: 20px;
--background: var(--ion-item-background, var(--ion-background-color, #fff));
}
/* Remove background transitions for switching themes */
ion-menu ion-item {
--transition: none;
}