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

希望可以支持asciinema录制的.cast文件 #5683

Closed
4 tasks done
Sanmejie opened this issue Dec 12, 2023 · 1 comment
Closed
4 tasks done

希望可以支持asciinema录制的.cast文件 #5683

Sanmejie opened this issue Dec 12, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Sanmejie
Copy link

Sanmejie commented Dec 12, 2023

Please make sure of the following things

  • I have read the documentation.
  • I'm sure there are no duplicate issues or discussions.
  • I'm sure this feature is not implemented.
  • I'm sure it's a reasonable and popular requirement.

Description of the feature / 需求描述

asciinema是命令行工具,工作中经常会录制一些命令行操作,希望可以支持下,感谢!

Suggested solution / 实现思路

<!DOCTYPE html>
<html>
<head>
  <link rel="stylesheet" type="text/css" href="asciinema-player.css" />
</head>
<body>
  <div id="player"></div>
  <script src="asciinema-player.min.js"></script>
  <script>
    AsciinemaPlayer.create(
      '/assets/626473.cast',
      document.getElementById('player'),
      { cols: 175, rows: 44 }
    );
  </script>
</body>
</html>

https://github.com/asciinema/asciinema-player

Additional context / 附件

No response

@Sanmejie Sanmejie added the enhancement New feature or request label Dec 12, 2023
Copy link

welcome bot commented Dec 12, 2023

Thanks for opening your first issue here! Be sure to follow the issue template!

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

No branches or pull requests

1 participant