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

Referring to an earlier slide (i.e. build over presentation) #457

Open
liljenstolpe opened this issue Oct 17, 2021 · 2 comments
Open

Referring to an earlier slide (i.e. build over presentation) #457

liljenstolpe opened this issue Oct 17, 2021 · 2 comments

Comments

@liljenstolpe
Copy link

Greetings,

I am working on a deck where I am making points for an eventual proof. Think of it this way:

A bunch of slides to solve issue 'A'. At the end a slide that shows that issue 'A' is closed

A bunch of slides to solve issue 'B'. At the end re-display the issue A slide, then add a fragment that says that 'B' is also closed

Wash, rinse repeat for C and D. At the end, the slide is showing all issues addressed.

I can just copy and paste the slide repeatedly, but the problem is, that, at some point, I'm going to forget to reflect an edit in ALL the versions of the same slide.

Thoughts?

Christopher

@mojavelinux
Copy link
Member

Isn't this a use case for an include directive? https://docs.asciidoctor.org/asciidoc/latest/directives/include/

@maxandersen
Copy link

that actually just works - below I include the same drawing slide twice.

// # tag::chatgptwithplugins[]
[transition=fade]
== ChatGPT with Plugins

Make ChatGPT talk to your app!

[plantuml, chatgptplugin, svg]
.... 
!theme bluegray

agent browser
actor user

agent plugin as "ChatGPT Plugin"
database localmodel as "Plugin Model"
agent plugin2 as "ChatGPT Plugin"
agent plugin3 as "ChatGPT Plugin"

rectangle gpt as "GPT" {
    agent api as "api"
    database model as "GPT Model"
}

browser -> api : "calls"
api -> model 
user -> browser : "enter prompt"

model->plugin : "calls"
plugin->localmodel

model-->plugin2 : "calls"
model-->plugin3 : "calls"
....
// # end::chatgptwithplugins[]

== Demo

https://chat.openai.com[https://chat.openai.com]

include::index.adoc[tags=chatgptwithplugins]

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

No branches or pull requests

3 participants