Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bulleted Lists #101

Closed
vijayb24 opened this issue Apr 15, 2024 · 4 comments
Closed

Bulleted Lists #101

vijayb24 opened this issue Apr 15, 2024 · 4 comments
Labels
question Further information is requested

Comments

@vijayb24
Copy link

how to add bulleted lists instead of blank texts

@singerla
Copy link
Owner

singerla commented Apr 15, 2024

First, you need to apply your desired bullet point format to the first line of pptx text shape.

Then, try this:

// Use EOL or this simple line break
const text = ["first line", "second line"].join(`
`);

// inside slide modification:
// modify.setText(text);

@singerla singerla added the question Further information is requested label Apr 15, 2024
@vijayb24
Copy link
Author

Thanks for the reply, can I also add the bullets as tag value and replaceText with textreplacements instead of shapes?

@singerla
Copy link
Owner

Interesting question! :) It works, please see replace-tagged-text.test.ts

@vijayb24
Copy link
Author

Thanks. will try it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants