Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Added flag and code to forcestyleliteral#515

Open
BirgerMoell wants to merge 3 commits intonodeca:masterfrom
BirgerMoell:forcestyleliteral
Open

Added flag and code to forcestyleliteral#515
BirgerMoell wants to merge 3 commits intonodeca:masterfrom
BirgerMoell:forcestyleliteral

Conversation

Copy link

BirgerMoell commented Sep 4, 2019

Added flag to force style literal when calling yaml.safeDump.
Invoke code with forceStyleLiteral: true to force style literal to be kept.
yaml.safeDump(res,{lorceStyleLiteral: true});
Referenced in issiue #464.

This pull request will hopefully solve it.

Whoaa512, kldzj, hcharley, wscourge, JoshuaKGoldberg, and sachiniyer reacted with thumbs up emoji
Copy link

wscourge commented Mar 21, 2023

Is this going to be merged eventually?

Copy link

alfierigaston commented May 1, 2025

Se agrego una bandera para forzar el literal de estilo al llamar a yaml.safeDump. Invocar codigo con Felicitarla: true para forzar la conservacion del literal de estilo. yaml.safeDump(res,{lorceStyleLiteral: true}); Referenciado en el numero 464 .

Esperamos que esta solicitud de extraccion lo resuelva.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants